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

Unified Diff: ui/events/event_constants.h

Issue 1260453006: ui: events: Add a class to hold common touch and stylus properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move mutators to MouseEvent/TouchEvent Created 5 years, 4 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/event_unittest.cc » ('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 44589ab7a2d22c9215111f4b6de04ce46442f1a9..5aab3ff115c8a43b7dff49d4f3d75be17a68c9e2 100644
--- a/ui/events/event_constants.h
+++ b/ui/events/event_constants.h
@@ -146,6 +146,14 @@ enum EventDeviceId {
ED_UNKNOWN_DEVICE = -1
};
+// Pointing device type.
+enum class EventPointerType : int {
+ POINTER_TYPE_UNKNOWN = 0,
+ POINTER_TYPE_MOUSE,
+ POINTER_TYPE_PEN,
+ POINTER_TYPE_TOUCH,
+};
+
} // namespace ui
#endif // UI_EVENTS_EVENT_CONSTANTS_H_
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/event_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698