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

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

Issue 1160753005: Implement UIEvent.sourceDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change unittest Created 5 years, 7 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 039d20c76671b7e9608fb3244971abc94ce9a961..73305c9baf6783b599adb9d4d458de78601c929a 100644
--- a/Source/core/events/UIEvent.idl
+++ b/Source/core/events/UIEvent.idl
@@ -22,6 +22,7 @@
] interface UIEvent : Event {
readonly attribute Window? view;
readonly attribute long detail;
+ [RuntimeEnabled=InputDevice] readonly attribute InputDevice? sourceDevice;
void initUIEvent([Default=Undefined] optional DOMString type,
[Default=Undefined] optional boolean canBubble,

Powered by Google App Engine
This is Rietveld 408576698