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

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

Issue 933323002: Add experimental Support for DOM3 KeyboardEvent key value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated global-interface-listing as test were failing due to addition of the key Created 5 years, 8 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 8835fe3e7cf36994e225f7d6f392bcc0ff668fd2..2fe31b5f93d00c45b7d6f71541e3edbffcf0eca6 100644
--- a/Source/core/events/KeyboardEvent.idl
+++ b/Source/core/events/KeyboardEvent.idl
@@ -28,6 +28,7 @@
const unsigned long DOM_KEY_LOCATION_NUMPAD = 0x03;
[RuntimeEnabled=KeyboardEventCode] readonly attribute DOMString code;
+ [RuntimeEnabled=KeyboardEventKey] readonly attribute DOMString key;
readonly attribute DOMString keyIdentifier;
readonly attribute unsigned long location;
[ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation] readonly attribute unsigned long keyLocation; // Deprecated.

Powered by Google App Engine
This is Rietveld 408576698