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

Unified Diff: lib/html/templates/html/interface/interface_WheelEvent.darttemplate

Issue 10969073: Fixing up WheelEvent to follow W3C standards and work on all platforms. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback Created 8 years, 3 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
« no previous file with comments | « lib/html/templates/html/impl/impl_WheelEvent.darttemplate ('k') | samples/ui_lib/touch/Scroller.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/templates/html/interface/interface_WheelEvent.darttemplate
diff --git a/lib/html/templates/html/interface/interface_CanvasElement.darttemplate b/lib/html/templates/html/interface/interface_WheelEvent.darttemplate
similarity index 61%
copy from lib/html/templates/html/interface/interface_CanvasElement.darttemplate
copy to lib/html/templates/html/interface/interface_WheelEvent.darttemplate
index ca44aefd9dd087e66b47e16969e644ab826498ea..d887078b73cae5dfd71b804aa99fb4cd1a9f520c 100644
--- a/lib/html/templates/html/interface/interface_CanvasElement.darttemplate
+++ b/lib/html/templates/html/interface/interface_WheelEvent.darttemplate
@@ -2,10 +2,16 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
-
$!COMMENT
abstract class $ID$EXTENDS {
$!MEMBERS
- final CanvasRenderingContext2D context2d;
+
+ /** @domName WheelEvent.deltaX */
+ num get deltaX;
+
+ /** @domName WheelEvent.deltaY */
+ num get deltaY;
+
+ /** @domName WheelEvent.deltaMode */
+ int get deltaMode;
}
« no previous file with comments | « lib/html/templates/html/impl/impl_WheelEvent.darttemplate ('k') | samples/ui_lib/touch/Scroller.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698