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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 11098052: Make WheelEvent.delta{X,Y} return num, not int. (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
« no previous file with comments | « lib/html/dart2js/html_dart2js.dart ('k') | lib/html/idl/dart/dart.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 973b4bbb8f4609119997f0c8f190900d231142a8..6535ef4ae3497d4ba34891369d0c9873d2a3789b 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -41115,18 +41115,24 @@ abstract class WheelEvent implements MouseEvent {
/** @domName WheelEvent.webkitDirectionInvertedFromDevice */
abstract bool get webkitDirectionInvertedFromDevice;
- /** @domName WheelEvent.deltaX */
- abstract int get deltaX;
+ /** @domName WheelEvent.wheelDeltaX */
+ abstract int get $dom_wheelDeltaX;
- /** @domName WheelEvent.deltaY */
- abstract int get deltaY;
+ /** @domName WheelEvent.wheelDeltaY */
+ abstract int get $dom_wheelDeltaY;
/** @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 */
+ abstract num get deltaX;
+
+ /** @domName WheelEvent.deltaY */
+ abstract num get deltaY;
+
/** @domName WheelEvent.deltaMode */
- int get deltaMode;
+ abstract int get deltaMode;
}
// 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
@@ -41136,13 +41142,15 @@ class _WheelEventImpl extends _MouseEventImpl implements WheelEvent {
bool get webkitDirectionInvertedFromDevice native "WheelEvent_webkitDirectionInvertedFromDevice_Getter";
- int get deltaX native "WheelEvent_wheelDeltaX_Getter";
+ int get $dom_wheelDeltaX native "WheelEvent_wheelDeltaX_Getter";
- int get deltaY native "WheelEvent_wheelDeltaY_Getter";
+ int get $dom_wheelDeltaY 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 deltaX => $dom_wheelDeltaX;
+ num get deltaY => $dom_wheelDeltaY;
int get deltaMode => 0;
}
« no previous file with comments | « lib/html/dart2js/html_dart2js.dart ('k') | lib/html/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698