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

Unified Diff: core/events/WheelEvent.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/events/WebKitAnimationEvent.idl ('k') | core/events/WheelEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/events/WheelEvent.idl
diff --git a/core/events/WheelEvent.idl b/core/events/WheelEvent.idl
index 91fcf88359db23f56fce26661e8302cb7562fe9a..cf556e4c1f0b75e7c55b462139a066207c54d9bf 100644
--- a/core/events/WheelEvent.idl
+++ b/core/events/WheelEvent.idl
@@ -19,22 +19,22 @@
* Boston, MA 02110-1301, USA.
*/
-// Introduced in DOM Level 3:
+// https://w3c.github.io/uievents/#interface-WheelEvent
+
[
- EventConstructor,
+ Constructor(DOMString type, optional WheelEventInit eventInitDict),
] interface WheelEvent : MouseEvent {
// DeltaModeCode
- const unsigned long DOM_DELTA_PIXEL = 0x00;
- const unsigned long DOM_DELTA_LINE = 0x01;
- const unsigned long DOM_DELTA_PAGE = 0x02;
-
- [InitializedByEventConstructor] readonly attribute double deltaX;
- [InitializedByEventConstructor] readonly attribute double deltaY;
- [InitializedByEventConstructor] readonly attribute double deltaZ;
- [InitializedByEventConstructor] readonly attribute unsigned long deltaMode;
+ const unsigned long DOM_DELTA_PIXEL = 0x00;
+ const unsigned long DOM_DELTA_LINE = 0x01;
+ const unsigned long DOM_DELTA_PAGE = 0x02;
+ readonly attribute double deltaX;
+ readonly attribute double deltaY;
+ readonly attribute double deltaZ;
+ readonly attribute unsigned long deltaMode;
- // Non-standard API.
- [InitializedByEventConstructor, MeasureAs=WheelEventWheelDeltaX] readonly attribute long wheelDeltaX;
- [InitializedByEventConstructor, MeasureAs=WheelEventWheelDeltaY] readonly attribute long wheelDeltaY;
+ // Non-standard APIs
+ [MeasureAs=WheelEventWheelDeltaX] readonly attribute long wheelDeltaX;
+ [MeasureAs=WheelEventWheelDeltaY] readonly attribute long wheelDeltaY;
[MeasureAs=WheelEventWheelDelta] readonly attribute long wheelDelta;
};
« no previous file with comments | « core/events/WebKitAnimationEvent.idl ('k') | core/events/WheelEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698