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

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: Layout test and webexposed 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/UIEvent.cpp ('k') | Source/core/events/UIEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/UIEvent.idl
diff --git a/Source/core/events/UIEvent.idl b/Source/core/events/UIEvent.idl
index e8bbf79880c5ac3266fae1ef1415df79cf2ef8ac..d4e3e2b46a29f998146dd124d92faa1f91b2ec17 100644
--- a/Source/core/events/UIEvent.idl
+++ b/Source/core/events/UIEvent.idl
@@ -24,6 +24,7 @@
] interface UIEvent : Event {
readonly attribute Window? view;
readonly attribute long detail;
+ [RuntimeEnabled=InputDevice] readonly attribute InputDevice? sourceDevice;
// https://w3c.github.io/uievents/#idl-interface-UIEvent-initializers
// TODO(philipj): None of the initUIEvent() arguments should be optional.
« no previous file with comments | « Source/core/events/UIEvent.cpp ('k') | Source/core/events/UIEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698