Index: Source/core/events/KeyboardEventInit.idl |
diff --git a/Source/core/events/KeyboardEventInit.idl b/Source/core/events/KeyboardEventInit.idl |
index ca9217d121a49f6865d71ce434e1a096cf6a9b64..80a600716aef4bbd599cdf5af46e043fcf0c32d4 100644 |
--- a/Source/core/events/KeyboardEventInit.idl |
+++ b/Source/core/events/KeyboardEventInit.idl |
@@ -2,12 +2,16 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// http://www.w3.org/TR/DOM-Level-3-Events/#interface-KeyboardEvent |
-// Note: this event init is somewhat different from the spec for compatibility reason. |
+// https://w3c.github.io/uievents/#idl-def-KeyboardEventInit |
-dictionary KeyboardEventInit : SharedKeyboardAndMouseEventInit { |
- DOMString keyIdentifier = ""; |
+dictionary KeyboardEventInit : EventModifierInit { |
+ // TODO(philipj): DOMString key = ""; |
+ // TODO(philipj): DOMString code = ""; |
unsigned long location = 0; |
- [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation] unsigned long keyLocation = 0; // Deprecated. |
boolean repeat = false; |
+ // TODO(philipj): boolean isComposing = false; |
+ |
+ // Non-standard APIs |
+ DOMString keyIdentifier = ""; |
+ [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation] unsigned long keyLocation = 0; |
}; |