Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / ui / events / event_constants.h
index 7e51eb3..2f761f4 100644 (file)
@@ -91,6 +91,14 @@ enum EventFlags {
   EF_ALTGR_DOWN          = 1 << 10,
 };
 
+// Flags specific to key events
+enum KeyEventFlags {
+  EF_NUMPAD_KEY         = 1 << 16,  // Key originates from number pad (Xkb only)
+  EF_IME_FABRICATED_KEY = 1 << 17,  // Key event fabricated by the underlying
+                                    // IME without a user action.
+                                    // (Linux X11 only)
+};
+
 // Flags specific to mouse events
 enum MouseEventFlags {
   EF_IS_DOUBLE_CLICK    = 1 << 16,