Chromium Code Reviews| Index: Source/core/events/KeyboardEvent.idl |
| diff --git a/Source/core/events/KeyboardEvent.idl b/Source/core/events/KeyboardEvent.idl |
| index f789f02249d90366cd235ef6c7d29d5f2766061c..d8ec816e06a3a304fd355bff8b6cd3ff3cb42a8b 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; |
| + readonly attribute DOMString code; |
|
Rick Byers
2015/01/20 14:49:56
This should be initialized by the constructor as w
Habib Virji
2015/01/22 16:01:30
Are you refering to below initKeyboardEvent? My un
|
| [InitializedByEventConstructor] readonly attribute DOMString keyIdentifier; |
| [InitializedByEventConstructor] readonly attribute unsigned long location; |
| [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation, InitializedByEventConstructor] readonly attribute unsigned long keyLocation; // Deprecated. |