Index: Source/core/events/KeyboardEvent.idl |
diff --git a/Source/core/events/KeyboardEvent.idl b/Source/core/events/KeyboardEvent.idl |
index f789f02249d90366cd235ef6c7d29d5f2766061c..68fc3caebdfaae9cadae55599d5baacbc5bf8b79 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; |
+ [InitializedByEventConstructor] 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. |
@@ -43,6 +44,7 @@ |
[Default=Undefined] optional boolean cancelable, |
[Default=Undefined] optional Window view, |
[Default=Undefined] optional DOMString keyIdentifier, |
+ [Default=Undefined] optional DOMString code, |
[Default=Undefined] optional unsigned long location, |
[Default=Undefined] optional boolean ctrlKey, |
[Default=Undefined] optional boolean altKey, |