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

Unified Diff: Source/core/events/WheelEvent.idl

Issue 1159113007: Sync event interfaces with the UI Events spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 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 | « Source/core/events/UIEventInit.idl ('k') | Source/core/events/WheelEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/WheelEvent.idl
diff --git a/Source/core/events/WheelEvent.idl b/Source/core/events/WheelEvent.idl
index eaf8b6f06ebd72953d18b42d906a317fa95c568a..cf556e4c1f0b75e7c55b462139a066207c54d9bf 100644
--- a/Source/core/events/WheelEvent.idl
+++ b/Source/core/events/WheelEvent.idl
@@ -19,23 +19,21 @@
* Boston, MA 02110-1301, USA.
*/
-// http://www.w3.org/TR/DOM-Level-3-Events/#interface-WheelEvent
+// https://w3c.github.io/uievents/#interface-WheelEvent
-// Introduced in DOM Level 3:
[
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;
-
+ 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.
+ // 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 | « Source/core/events/UIEventInit.idl ('k') | Source/core/events/WheelEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698