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

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

Issue 253233002: Merge 266651 "linux-aura: Supports Compose key with XIM." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/src/
Patch Set: 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 EF_RIGHT_MOUSE_BUTTON = 1 << 6, 87 EF_RIGHT_MOUSE_BUTTON = 1 << 6,
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 }; 92 };
93 93
94 // Flags specific to key events 94 // Flags specific to key events
95 enum KeyEventFlags { 95 enum KeyEventFlags {
96 EF_NUMPAD_KEY = 1 << 16, // Key originates from number pad (Xkb only) 96 EF_NUMPAD_KEY = 1 << 16, // Key originates from number pad (Xkb only)
97 EF_IME_FABRICATED_KEY = 1 << 17, // Key event fabricated by the underlying
98 // IME without a user action.
99 // (Linux X11 only)
97 }; 100 };
98 101
99 // Flags specific to mouse events 102 // Flags specific to mouse events
100 enum MouseEventFlags { 103 enum MouseEventFlags {
101 EF_IS_DOUBLE_CLICK = 1 << 16, 104 EF_IS_DOUBLE_CLICK = 1 << 16,
102 EF_IS_TRIPLE_CLICK = 1 << 17, 105 EF_IS_TRIPLE_CLICK = 1 << 17,
103 EF_IS_NON_CLIENT = 1 << 18, 106 EF_IS_NON_CLIENT = 1 << 18,
104 EF_FROM_TOUCH = 1 << 19, // Indicates this mouse event is generated 107 EF_FROM_TOUCH = 1 << 19, // Indicates this mouse event is generated
105 // from an unconsumed touch/gesture event. 108 // from an unconsumed touch/gesture event.
106 }; 109 };
(...skipping 13 matching lines...) Expand all
120 EP_PREDISPATCH, 123 EP_PREDISPATCH,
121 EP_PRETARGET, 124 EP_PRETARGET,
122 EP_TARGET, 125 EP_TARGET,
123 EP_POSTTARGET, 126 EP_POSTTARGET,
124 EP_POSTDISPATCH 127 EP_POSTDISPATCH
125 }; 128 };
126 129
127 } // namespace ui 130 } // namespace ui
128 131
129 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ 132 #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