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

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: nits 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 9d3cd74d6a392c4e2325d8098078af25ad1b5c66..1a443148c2e0f701479338b862757901df130dd5 100644
--- a/ui/events/event_constants.h
+++ b/ui/events/event_constants.h
@@ -124,13 +124,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.

Powered by Google App Engine
This is Rietveld 408576698