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

Unified Diff: Source/core/events/MouseEventInit.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/MouseEvent.idl ('k') | Source/core/events/SharedKeyboardAndMouseEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/MouseEventInit.idl
diff --git a/Source/core/events/MouseEventInit.idl b/Source/core/events/MouseEventInit.idl
index 8342ed283750a7e42b6f1a5e25f494cf6aa44cf7..6a4fe24d328780feddfed520820a99f36f4461dc 100644
--- a/Source/core/events/MouseEventInit.idl
+++ b/Source/core/events/MouseEventInit.idl
@@ -2,18 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://www.w3.org/TR/DOM-Level-3-Events/#interface-MouseEvent
-// Note: this event init is somewhat different from the spec for compatibility reason.
+// https://w3c.github.io/uievents/#idl-def-MouseEventInit
-dictionary MouseEventInit : SharedKeyboardAndMouseEventInit {
+dictionary MouseEventInit : EventModifierInit {
long screenX = 0;
long screenY = 0;
long clientX = 0;
long clientY = 0;
+ // TODO(philipj): button should be short, not unsigned short.
unsigned short button = 0;
unsigned short buttons = 0;
EventTarget? relatedTarget = null;
+ // Pointer Lock
// https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions-to-the-mouseeventinit-dictionary
long movementX = 0;
long movementY = 0;
« no previous file with comments | « Source/core/events/MouseEvent.idl ('k') | Source/core/events/SharedKeyboardAndMouseEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698