| Index: Source/core/events/KeyboardEvent.h
|
| diff --git a/Source/core/events/KeyboardEvent.h b/Source/core/events/KeyboardEvent.h
|
| index 31bd42f7fcd285fb092a61600df662a70a8e603b..1c4c3536580af7c239d505426ed93a73c451d61c 100644
|
| --- a/Source/core/events/KeyboardEvent.h
|
| +++ b/Source/core/events/KeyboardEvent.h
|
| @@ -36,6 +36,7 @@ struct KeyboardEventInit : public UIEventInit {
|
| KeyboardEventInit();
|
|
|
| String keyIdentifier;
|
| + String code;
|
| unsigned location;
|
| bool ctrlKey;
|
| bool altKey;
|
| @@ -84,6 +85,8 @@ public:
|
| bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
|
|
|
| const String& keyIdentifier() const { return m_keyIdentifier; }
|
| + const String& code() { return m_code; };
|
| +
|
| unsigned location() const { return m_location; }
|
|
|
| bool getModifierState(const String& keyIdentifier) const;
|
| @@ -112,6 +115,7 @@ private:
|
| String m_keyIdentifier;
|
| unsigned m_location;
|
| bool m_isAutoRepeat : 1;
|
| + String m_code;
|
| };
|
|
|
| class KeyboardEventDispatchMediator : public EventDispatchMediator {
|
|
|