summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/public/WebInputEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/public/WebInputEvent.h')
-rw-r--r--WebKit/chromium/public/WebInputEvent.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebInputEvent.h b/WebKit/chromium/public/WebInputEvent.h
index f8b057b..26e41a4 100644
--- a/WebKit/chromium/public/WebInputEvent.h
+++ b/WebKit/chromium/public/WebInputEvent.h
@@ -122,6 +122,12 @@ public:
LeftButtonDown = 1 << 6,
MiddleButtonDown = 1 << 7,
RightButtonDown = 1 << 8,
+
+ // Toggle modifiers for all events. Danger: these are not reflected
+ // into WebCore, so round-tripping from WebInputEvent to a WebCore
+ // event and back will not preserve these flags.
+ CapsLockOn = 1 << 9,
+ NumLockOn = 1 << 10,
};
unsigned size; // The size of this structure, for serialization.