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

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

Issue 336403005: Use XInput2 events for keyboard events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Post rebase, make KeyboardCodeFromXKeyEvent() not modify its argument. Created 6 years, 5 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
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // Phase of the event dispatch. 128 // Phase of the event dispatch.
129 enum EventPhase { 129 enum EventPhase {
130 EP_PREDISPATCH, 130 EP_PREDISPATCH,
131 EP_PRETARGET, 131 EP_PRETARGET,
132 EP_TARGET, 132 EP_TARGET,
133 EP_POSTTARGET, 133 EP_POSTTARGET,
134 EP_POSTDISPATCH 134 EP_POSTDISPATCH
135 }; 135 };
136 136
137 // Device ID for Touch and Key Events.
138 enum EventDeviceId {
139 ED_UNKNOWN_DEVICE = -1
140 };
141
137 } // namespace ui 142 } // namespace ui
138 143
139 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ 144 #endif // UI_EVENTS_EVENT_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698