| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index aa69def3247cd0b2764368db5d18d45e12139224..44f655d6ad3417659968ef359f9e9a5c6f552456 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -24265,6 +24265,14 @@ class MouseEvent extends UIEvent {
|
| @DomName('MouseEvent.screenX')
|
| @DomName('MouseEvent.screenY')
|
| Point get screen => new Point(_screenX, _screenY);
|
| +
|
| + @DomName('MouseEvent.layerX')
|
| + @DomName('MouseEvent.layerY')
|
| + Point get layer => new Point(_layerX, _layerY);
|
| +
|
| + @DomName('MouseEvent.pageX')
|
| + @DomName('MouseEvent.pageY')
|
| + Point get page => new Point(_pageX, _pageY);
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -33450,14 +33458,6 @@ class UIEvent extends Event {
|
| @DocsEditable()
|
| void _initUIEvent(String type, bool bubbles, bool cancelable, Window view, int detail) native;
|
|
|
| -
|
| - @DomName('UIEvent.layerX')
|
| - @DomName('UIEvent.layerY')
|
| - Point get layer => new Point(_layerX, _layerY);
|
| -
|
| - @DomName('UIEvent.pageX')
|
| - @DomName('UIEvent.pageY')
|
| - Point get page => new Point(_pageX, _pageY);
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -43309,24 +43309,22 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent {
|
|
|
| /** Accessor to the clipboardData available for this event. */
|
| DataTransfer get clipboardData => _parent.clipboardData;
|
| - String get code => parent.code;
|
| + String get code => _parent.code;
|
| /** True if the ctrl key is pressed during this event. */
|
| bool get ctrlKey => _parent.ctrlKey;
|
| int get detail => _parent.detail;
|
| - String get key => parent.key;
|
| + String get key => _parent.key;
|
| /**
|
| * Accessor to the part of the keyboard that the key was pressed from (one of
|
| * KeyLocation.STANDARD, KeyLocation.RIGHT, KeyLocation.LEFT,
|
| * KeyLocation.NUMPAD, KeyLocation.MOBILE, KeyLocation.JOYSTICK).
|
| */
|
| int get keyLocation => _parent.keyLocation;
|
| - Point get layer => _parent.layer;
|
| /** True if the Meta (or Mac command) key is pressed during this event. */
|
| bool get metaKey => _parent.metaKey;
|
| - Point get page => _parent.page;
|
| /** True if the shift key was pressed during this event. */
|
| bool get shiftKey => _parent.shiftKey;
|
| - InputDevice get sourceDevice => parent.sourceDevice;
|
| + InputDevice get sourceDevice => _parent.sourceDevice;
|
| Window get view => _parent.view;
|
| void _initUIEvent(String type, bool canBubble, bool cancelable,
|
| Window view, int detail) {
|
|
|