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

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

Issue 1174683004: Populates sourceDevice attribute into MouseEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Create a new init function 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
Index: Source/core/events/UIEvent.idl
diff --git a/Source/core/events/UIEvent.idl b/Source/core/events/UIEvent.idl
index d4e3e2b46a29f998146dd124d92faa1f91b2ec17..4c3c31d51035cfa8a2f20cdd3547288570a3d728 100644
--- a/Source/core/events/UIEvent.idl
+++ b/Source/core/events/UIEvent.idl
@@ -33,6 +33,13 @@
[Default=Undefined] optional boolean cancelable,
[Default=Undefined] optional Window? view,
[Default=Undefined] optional long detail);
+
+ [RuntimeEnabled=InputDevice] void initUIEvent([Default=Undefined] optional DOMString type,
+ [Default=Undefined] optional boolean bubbles,
+ [Default=Undefined] optional boolean cancelable,
+ [Default=Undefined] optional Window? view,
+ [Default=Undefined] optional long detail,
+ [Default=Undefined] InputDevice? sourceDevice);
// Non-standard
[MeasureAs=UIEventLayerX] readonly attribute long layerX;

Powered by Google App Engine
This is Rietveld 408576698