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

Unified Diff: lib/html/templates/html/impl/impl_WheelEvent.darttemplate

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:
View side-by-side diff with in-line comments
Download patch
Index: lib/html/templates/html/impl/impl_WheelEvent.darttemplate
diff --git a/lib/html/templates/html/impl/impl_WheelEvent.darttemplate b/lib/html/templates/html/impl/impl_WheelEvent.darttemplate
index a2fbc06845b4d9d4a6f9c9cf9dcaaee54fbeca30..e4b66098a2ae9316895c5db7638fb0d5a3867093 100644
--- a/lib/html/templates/html/impl/impl_WheelEvent.darttemplate
+++ b/lib/html/templates/html/impl/impl_WheelEvent.darttemplate
@@ -77,6 +77,8 @@ $if DART2JS
int get _deltaMode() native 'return this.deltaMode';
$else
+ num get deltaX => $dom_wheelDeltaX;
+ num get deltaY => $dom_wheelDeltaY;
int get deltaMode => 0;
$endif
« no previous file with comments | « lib/html/scripts/htmlrenamer.py ('k') | lib/html/templates/html/interface/interface_WheelEvent.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698