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

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

Issue 11099033: Rename WebKit's WheelEvent.wheelDelta{X,Y} to W3C WheelEvent.delta{X,Y}. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 263ca736e75feead91bf7d8fef4545e19c793138..a2dd5335fbdfb2e599a32c0eeb35e746c5820f26 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -41115,15 +41115,15 @@ abstract class WheelEvent implements MouseEvent {
/** @domName WheelEvent.webkitDirectionInvertedFromDevice */
abstract bool get webkitDirectionInvertedFromDevice;
- /** @domName WheelEvent.initWebKitWheelEvent */
- void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, LocalWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
-
-
/** @domName WheelEvent.deltaX */
- num get deltaX;
+ abstract int get deltaX;
/** @domName WheelEvent.deltaY */
- num get deltaY;
+ abstract int get deltaY;
+
+ /** @domName WheelEvent.initWebKitWheelEvent */
+ void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, LocalWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
+
/** @domName WheelEvent.deltaMode */
int get deltaMode;
@@ -41136,11 +41136,13 @@ class _WheelEventImpl extends _MouseEventImpl implements WheelEvent {
bool get webkitDirectionInvertedFromDevice native "WheelEvent_webkitDirectionInvertedFromDevice_Getter";
+ int get deltaX native "WheelEvent_wheelDeltaX_Getter";
+
+ int get deltaY native "WheelEvent_wheelDeltaY_Getter";
+
void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, LocalWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native "WheelEvent_initWebKitWheelEvent_Callback";
- num get deltaY native 'WheelEvent_wheelDelta_Getter';
- num get deltaX native 'WheelEvent_wheelDeltaX_Getter';
int get deltaMode => 0;
}

Powered by Google App Engine
This is Rietveld 408576698