Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: ui/events/event_constants.h

Issue 243143002: linux-aura: Supports Compose key with XIM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabled EF_IME_FABRICATED_KEY flag on CrOS. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/ime/input_method_auralinux.cc ('k') | ui/events/x/events_x.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_EVENTS_EVENT_CONSTANTS_H_ 5 #ifndef UI_EVENTS_EVENT_CONSTANTS_H_
6 #define UI_EVENTS_EVENT_CONSTANTS_H_ 6 #define UI_EVENTS_EVENT_CONSTANTS_H_
7 7
8 namespace ui { 8 namespace ui {
9 9
10 // Event types. (prefixed because of a conflict with windows headers) 10 // Event types. (prefixed because of a conflict with windows headers)
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 EF_COMMAND_DOWN = 1 << 7, // Only useful on OSX 88 EF_COMMAND_DOWN = 1 << 7, // Only useful on OSX
89 EF_EXTENDED = 1 << 8, // Windows extended key (see WM_KEYDOWN doc) 89 EF_EXTENDED = 1 << 8, // Windows extended key (see WM_KEYDOWN doc)
90 EF_IS_SYNTHESIZED = 1 << 9, 90 EF_IS_SYNTHESIZED = 1 << 9,
91 EF_ALTGR_DOWN = 1 << 10, 91 EF_ALTGR_DOWN = 1 << 10,
92 EF_MOD3_DOWN = 1 << 11, 92 EF_MOD3_DOWN = 1 << 11,
93 }; 93 };
94 94
95 // Flags specific to key events 95 // Flags specific to key events
96 enum KeyEventFlags { 96 enum KeyEventFlags {
97 EF_NUMPAD_KEY = 1 << 16, // Key originates from number pad (Xkb only) 97 EF_NUMPAD_KEY = 1 << 16, // Key originates from number pad (Xkb only)
98 EF_IME_FABRICATED_KEY = 1 << 17, // Key event fabricated by the underlying
99 // IME without a user action.
100 // (Linux X11 only)
98 }; 101 };
99 102
100 // Flags specific to mouse events 103 // Flags specific to mouse events
101 enum MouseEventFlags { 104 enum MouseEventFlags {
102 EF_IS_DOUBLE_CLICK = 1 << 16, 105 EF_IS_DOUBLE_CLICK = 1 << 16,
103 EF_IS_TRIPLE_CLICK = 1 << 17, 106 EF_IS_TRIPLE_CLICK = 1 << 17,
104 EF_IS_NON_CLIENT = 1 << 18, 107 EF_IS_NON_CLIENT = 1 << 18,
105 EF_FROM_TOUCH = 1 << 19, // Indicates this mouse event is generated 108 EF_FROM_TOUCH = 1 << 19, // Indicates this mouse event is generated
106 // from an unconsumed touch/gesture event. 109 // from an unconsumed touch/gesture event.
107 }; 110 };
(...skipping 13 matching lines...) Expand all
121 EP_PREDISPATCH, 124 EP_PREDISPATCH,
122 EP_PRETARGET, 125 EP_PRETARGET,
123 EP_TARGET, 126 EP_TARGET,
124 EP_POSTTARGET, 127 EP_POSTTARGET,
125 EP_POSTDISPATCH 128 EP_POSTDISPATCH
126 }; 129 };
127 130
128 } // namespace ui 131 } // namespace ui
129 132
130 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ 133 #endif // UI_EVENTS_EVENT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_auralinux.cc ('k') | ui/events/x/events_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698