Index: core/events/KeyboardEventInit.idl |
diff --git a/core/events/KeyboardEventInit.idl b/core/events/KeyboardEventInit.idl |
index 80a600716aef4bbd599cdf5af46e043fcf0c32d4..d45a16d4fdac1a1abb96512346f560f921304f4a 100644 |
--- a/core/events/KeyboardEventInit.idl |
+++ b/core/events/KeyboardEventInit.idl |
@@ -5,13 +5,12 @@ |
// 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; |
// Non-standard APIs |
DOMString keyIdentifier = ""; |
- [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation] unsigned long keyLocation = 0; |
}; |