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

Unified 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: Address review comments (sadrul) 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/keycodes/keyboard_code_conversion_x.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_constants.h
diff --git a/ui/events/event_constants.h b/ui/events/event_constants.h
index d2ff97c7aecda3914163ad529c4d7e8cd7f154cf..44bb5378ed424d2bbc4e4f9b3a92e952661dd702 100644
--- a/ui/events/event_constants.h
+++ b/ui/events/event_constants.h
@@ -134,6 +134,11 @@ enum EventPhase {
EP_POSTDISPATCH
};
+// Device ID for Touch and Key Events.
+enum EventDeviceId {
+ ED_UNKNOWN_DEVICE = -1
+};
+
} // namespace ui
#endif // UI_EVENTS_EVENT_CONSTANTS_H_
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/keycodes/keyboard_code_conversion_x.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698