Index: Source/core/events/KeyboardEvent.idl |
diff --git a/Source/core/events/KeyboardEvent.idl b/Source/core/events/KeyboardEvent.idl |
index f789f02249d90366cd235ef6c7d29d5f2766061c..b01bd2ccdc96e09a37ebae5ef938c3ca2fb21050 100644 |
--- a/Source/core/events/KeyboardEvent.idl |
+++ b/Source/core/events/KeyboardEvent.idl |
@@ -26,6 +26,7 @@ |
const unsigned long DOM_KEY_LOCATION_RIGHT = 0x02; |
const unsigned long DOM_KEY_LOCATION_NUMPAD = 0x03; |
+ [RuntimeEnabled=KeyboardEventCode] readonly attribute DOMString code; |
[InitializedByEventConstructor] readonly attribute DOMString keyIdentifier; |
[InitializedByEventConstructor] readonly attribute unsigned long location; |
[ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation, InitializedByEventConstructor] readonly attribute unsigned long keyLocation; // Deprecated. |