mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Stop passing DOMStrings via borrowed pointer. (#1201)
This commit is contained in:
parent
b1762655e6
commit
f5ef4365f4
74 changed files with 364 additions and 366 deletions
|
@ -49,7 +49,7 @@ impl MouseEvent {
|
|||
}
|
||||
|
||||
pub fn Constructor(owner: @mut Window,
|
||||
type_: &DOMString,
|
||||
type_: DOMString,
|
||||
init: &MouseEventBinding::MouseEventInit) -> Fallible<AbstractEvent> {
|
||||
let ev = MouseEvent::new(owner);
|
||||
ev.mut_mouseevent().InitMouseEvent(type_, init.bubbles, init.cancelable, init.view,
|
||||
|
@ -105,13 +105,13 @@ impl MouseEvent {
|
|||
self.related_target
|
||||
}
|
||||
|
||||
pub fn GetModifierState(&self, _keyArg: &DOMString) -> bool {
|
||||
pub fn GetModifierState(&self, _keyArg: DOMString) -> bool {
|
||||
//TODO
|
||||
false
|
||||
}
|
||||
|
||||
pub fn InitMouseEvent(&mut self,
|
||||
typeArg: &DOMString,
|
||||
typeArg: DOMString,
|
||||
canBubbleArg: bool,
|
||||
cancelableArg: bool,
|
||||
viewArg: Option<@mut WindowProxy>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue