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

Side by Side Diff: branches/1916/src/ui/events/event_constants.h

Issue 253183002: Revert 266967 "Merge 266651 "linux-aura: Supports Compose key wi..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 EF_ALT_DOWN = 1 << 3, 84 EF_ALT_DOWN = 1 << 3,
85 EF_LEFT_MOUSE_BUTTON = 1 << 4, 85 EF_LEFT_MOUSE_BUTTON = 1 << 4,
86 EF_MIDDLE_MOUSE_BUTTON = 1 << 5, 86 EF_MIDDLE_MOUSE_BUTTON = 1 << 5,
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
95 enum KeyEventFlags {
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)
100 };
101
102 // Flags specific to mouse events 94 // Flags specific to mouse events
103 enum MouseEventFlags { 95 enum MouseEventFlags {
104 EF_IS_DOUBLE_CLICK = 1 << 16, 96 EF_IS_DOUBLE_CLICK = 1 << 16,
105 EF_IS_TRIPLE_CLICK = 1 << 17, 97 EF_IS_TRIPLE_CLICK = 1 << 17,
106 EF_IS_NON_CLIENT = 1 << 18, 98 EF_IS_NON_CLIENT = 1 << 18,
107 EF_FROM_TOUCH = 1 << 19, // Indicates this mouse event is generated 99 EF_FROM_TOUCH = 1 << 19, // Indicates this mouse event is generated
108 // from an unconsumed touch/gesture event. 100 // from an unconsumed touch/gesture event.
109 }; 101 };
110 102
111 // Result of dispatching an event. 103 // Result of dispatching an event.
(...skipping 11 matching lines...) Expand all
123 EP_PREDISPATCH, 115 EP_PREDISPATCH,
124 EP_PRETARGET, 116 EP_PRETARGET,
125 EP_TARGET, 117 EP_TARGET,
126 EP_POSTTARGET, 118 EP_POSTTARGET,
127 EP_POSTDISPATCH 119 EP_POSTDISPATCH
128 }; 120 };
129 121
130 } // namespace ui 122 } // namespace ui
131 123
132 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ 124 #endif // UI_EVENTS_EVENT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « branches/1916/src/ui/base/ime/input_method_auralinux.cc ('k') | branches/1916/src/ui/events/x/events_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698