| Index: tools/dom/templates/html/dartium/impl_MouseEvent.darttemplate
|
| diff --git a/tools/dom/templates/html/dartium/impl_MouseEvent.darttemplate b/tools/dom/templates/html/dartium/impl_MouseEvent.darttemplate
|
| index 88b3d86e961d5cd4cbd9db33e21f8782e299a0b5..a1a3862b7c04d3ee71ee0180154cadc1b1811f9b 100644
|
| --- a/tools/dom/templates/html/dartium/impl_MouseEvent.darttemplate
|
| +++ b/tools/dom/templates/html/dartium/impl_MouseEvent.darttemplate
|
| @@ -16,8 +16,8 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| if (view == null) {
|
| view = window;
|
| }
|
| - var event = document.$dom_createEvent('MouseEvent');
|
| - event.$dom_initMouseEvent(type, canBubble, cancelable, view, detail,
|
| + var event = document._createEvent('MouseEvent');
|
| + event._initMouseEvent(type, canBubble, cancelable, view, detail,
|
| screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey,
|
| button, relatedTarget);
|
| return event;
|
| @@ -43,14 +43,14 @@ $!MEMBERS
|
|
|
| @DomName('MouseEvent.clientX')
|
| @DomName('MouseEvent.clientY')
|
| - Point get client => new Point($dom_clientX, $dom_clientY);
|
| + Point get client => new Point(_clientX, _clientY);
|
|
|
| @DomName('MouseEvent.movementX')
|
| @DomName('MouseEvent.movementY')
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
| @SupportedBrowser(SupportedBrowser.SAFARI)
|
| @Experimental()
|
| - Point get movement => new Point($dom_webkitMovementX, $dom_webkitMovementY);
|
| + Point get movement => new Point(_webkitMovementX, _webkitMovementY);
|
|
|
| /**
|
| * The coordinates of the mouse pointer in target node coordinates.
|
| @@ -59,9 +59,9 @@ $!MEMBERS
|
| * after the event has fired or if the element has CSS transforms affecting
|
| * it.
|
| */
|
| - Point get offset => new Point($dom_offsetX, $dom_offsetY);
|
| + Point get offset => new Point(_offsetX, _offsetY);
|
|
|
| @DomName('MouseEvent.screenX')
|
| @DomName('MouseEvent.screenY')
|
| - Point get screen => new Point($dom_screenX, $dom_screenY);
|
| + Point get screen => new Point(_screenX, _screenY);
|
| }
|
|
|