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

Unified Diff: ui/events/event_constants.h

Issue 2248933002: Support pen in TouchEventConverterEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 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
Index: ui/events/event_constants.h
diff --git a/ui/events/event_constants.h b/ui/events/event_constants.h
index 276598e218fd053c872a331c4e0e381de82103fa..4928e7aabc94a1774b86d50ed70dff82cff7659e 100644
--- a/ui/events/event_constants.h
+++ b/ui/events/event_constants.h
@@ -127,13 +127,15 @@ enum KeyEventFlags {
// Flags specific to mouse events
enum MouseEventFlags {
- EF_IS_DOUBLE_CLICK = 1 << 15,
- EF_IS_TRIPLE_CLICK = 1 << 16,
- EF_IS_NON_CLIENT = 1 << 17,
- EF_FROM_TOUCH = 1 << 18, // Indicates this mouse event is generated
+ EF_IS_DOUBLE_CLICK = 1 << 15,
+ EF_IS_TRIPLE_CLICK = 1 << 16,
+ EF_IS_NON_CLIENT = 1 << 17,
+ EF_FROM_TOUCH = 1 << 18, // Indicates this mouse event is generated
// from an unconsumed touch/gesture event.
EF_TOUCH_ACCESSIBILITY = 1 << 19, // Indicates this event was generated from
// touch accessibility mode.
+ EF_DIRECT_INPUT = 1 << 20, // Mouse event coming from direct,
+ // on-screen input.
};
// Result of dispatching an event.
« no previous file with comments | « no previous file | ui/events/ozone/evdev/device_event_dispatcher_evdev.h » ('j') | ui/wm/core/compound_event_filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698