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

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

Issue 1161783006: Populates sourceDevice attribute into TouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: sourceDevice set to null from Javascript 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/UIEventInit.idl
diff --git a/Source/core/events/UIEventInit.idl b/Source/core/events/UIEventInit.idl
index debb6cfb3bf740622e79723f4f3705f702419bd0..ae59def5969542785206e73e44441727c46e7583 100644
--- a/Source/core/events/UIEventInit.idl
+++ b/Source/core/events/UIEventInit.idl
@@ -7,4 +7,5 @@
dictionary UIEventInit : EventInit {
Window? view = null;
long detail = 0;
+ [RuntimeEnabled=InputDevice] InputDevice? sourceDevice = null;
};

Powered by Google App Engine
This is Rietveld 408576698