Most of the code refactoring needed to be done is done with this commit.

This commit is contained in:
Arthur Marble 2016-09-18 03:41:16 -05:00
parent dbec9d8454
commit 883902bd97
86 changed files with 469 additions and 469 deletions

View file

@ -55,7 +55,7 @@ impl TouchEvent {
pub fn new(window: &Window,
type_: DOMString,
canBubble: EventBubbles,
can_bubble: EventBubbles,
cancelable: EventCancelable,
view: Option<&Window>,
detail: i32,
@ -68,7 +68,7 @@ impl TouchEvent {
meta_key: bool) -> Root<TouchEvent> {
let ev = TouchEvent::new_uninitialized(window, touches, changed_touches, target_touches);
ev.upcast::<UIEvent>().InitUIEvent(type_,
bool::from(canBubble),
bool::from(can_bubble),
bool::from(cancelable),
view, detail);
ev.ctrl_key.set(ctrl_key);