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

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

Issue 1182313006: Populates sourceDevice attribute into KeyboardEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/KeyboardEvent.idl
diff --git a/Source/core/events/KeyboardEvent.idl b/Source/core/events/KeyboardEvent.idl
index 669fa7012d2b096b29ea726c0fcfbef10585bf5b..e0389aa690c6739bca5e922be8a5c164f73ef131 100644
--- a/Source/core/events/KeyboardEvent.idl
+++ b/Source/core/events/KeyboardEvent.idl
@@ -51,7 +51,8 @@
[Default=Undefined] optional boolean ctrlKey,
[Default=Undefined] optional boolean altKey,
[Default=Undefined] optional boolean shiftKey,
- [Default=Undefined] optional boolean metaKey);
+ [Default=Undefined] optional boolean metaKey,
+ [Default=Undefined] optional InputDevice? sourceDevice);
// https://w3c.github.io/uievents/#KeyboardEvent-supplemental-interface
readonly attribute long charCode;

Powered by Google App Engine
This is Rietveld 408576698