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

Unified Diff: third_party/WebKit/Source/core/events/KeyboardEventInit.idl

Issue 1471883003: Added code and key to KeyboardEventInit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make code/key RuntimeEnabled Created 5 years, 1 month 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 | « third_party/WebKit/Source/core/events/KeyboardEvent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/KeyboardEventInit.idl
diff --git a/third_party/WebKit/Source/core/events/KeyboardEventInit.idl b/third_party/WebKit/Source/core/events/KeyboardEventInit.idl
index 80a600716aef4bbd599cdf5af46e043fcf0c32d4..33eed03f53025d8990647c6ef18423bf211535f6 100644
--- a/third_party/WebKit/Source/core/events/KeyboardEventInit.idl
+++ b/third_party/WebKit/Source/core/events/KeyboardEventInit.idl
@@ -5,8 +5,8 @@
// https://w3c.github.io/uievents/#idl-def-KeyboardEventInit
dictionary KeyboardEventInit : EventModifierInit {
- // TODO(philipj): DOMString key = "";
- // TODO(philipj): DOMString code = "";
+ [RuntimeEnabled=KeyboardEventKey] DOMString key = "";
+ [RuntimeEnabled=KeyboardEventCode] DOMString code = "";
unsigned long location = 0;
boolean repeat = false;
// TODO(philipj): boolean isComposing = false;
« no previous file with comments | « third_party/WebKit/Source/core/events/KeyboardEvent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698