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

Unified Diff: third_party/WebCore/dom/WheelEvent.idl

Issue 12316066: Update WebKit idl files after chrome roll (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove deltaMode from WheelEvent template. Created 7 years, 10 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: third_party/WebCore/dom/WheelEvent.idl
diff --git a/third_party/WebCore/dom/WheelEvent.idl b/third_party/WebCore/dom/WheelEvent.idl
index b09dd01aa8a08d64c17636012db6758abe116562..7ba9cf410d612109bd65c3517bd2b697c081eb5b 100644
--- a/third_party/WebCore/dom/WheelEvent.idl
+++ b/third_party/WebCore/dom/WheelEvent.idl
@@ -22,8 +22,13 @@
ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR,
ConstructorTemplate=Event
] interface WheelEvent : MouseEvent {
+ const unsigned long DOM_DELTA_PIXEL = 0x00;
+ const unsigned long DOM_DELTA_LINE = 0x01;
+ const unsigned long DOM_DELTA_PAGE = 0x02;
+
[InitializedByEventConstructor] readonly attribute long wheelDeltaX;
[InitializedByEventConstructor] readonly attribute long wheelDeltaY;
+ [InitializedByEventConstructor] readonly attribute unsigned long deltaMode;
readonly attribute long wheelDelta;

Powered by Google App Engine
This is Rietveld 408576698