Index: Source/core/dom/KeyboardEvent.h |
diff --git a/Source/core/dom/KeyboardEvent.h b/Source/core/dom/KeyboardEvent.h |
index 1eb2806bef97431b98d35455e1b05eed5e580fb1..274e2c7596576d256ac87850abfc70aeaa70067e 100644 |
--- a/Source/core/dom/KeyboardEvent.h |
+++ b/Source/core/dom/KeyboardEvent.h |
@@ -47,10 +47,13 @@ struct KeyboardEventInit : public UIEventInit { |
class KeyboardEvent : public UIEventWithKeyState { |
public: |
enum KeyLocationCode { |
- DOMKeyLocationStandard = 0x00, |
- DOMKeyLocationLeft = 0x01, |
- DOMKeyLocationRight = 0x02, |
- DOMKeyLocationNumpad = 0x03 |
+ DOM_KEY_LOCATION_STANDARD = 0x00, |
+ DOM_KEY_LOCATION_LEFT = 0x01, |
+ DOM_KEY_LOCATION_RIGHT = 0x02, |
+ DOM_KEY_LOCATION_NUMPAD = 0x03 |
+ // FIXME: The following values are not supported yet (crbug.com/265446) |
+ // DOM_KEY_LOCATION_MOBILE = 0x04, |
+ // DOM_KEY_LOCATION_JOYSTICK = 0x05 |
}; |
static PassRefPtr<KeyboardEvent> create() |