Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 1771113002: More UIEvent attribute movement in 45 roll. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Removed fixed analyzer problems Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/compiler/dart2js/analyze_api_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 19d699640d9844e5dc8ae4aeb5df2e1c2ab4511e..2a5b5e16aedd35a67bd76b53e87f3ca6acb6f957 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -28676,6 +28676,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
@@ -40257,14 +40265,6 @@ class UIEvent extends Event {
@DocsEditable()
void _initUIEvent(String type, bool bubbles, bool cancelable, Window view, int detail) => _blink.BlinkUIEvent.instance.initUIEvent_Callback_5_(unwrap_jso(this), type, bubbles, cancelable, unwrap_jso(view), detail);
-
- @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
@@ -50750,10 +50750,8 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent {
* 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;
Window get view => _parent.view;
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/compiler/dart2js/analyze_api_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698