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

Unified Diff: components/mus/public/interfaces/event_matcher.mojom

Issue 2092343002: Touch HUD app for mustash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: components/mus/public/interfaces/event_matcher.mojom
diff --git a/components/mus/public/interfaces/event_matcher.mojom b/components/mus/public/interfaces/event_matcher.mojom
index 34ec670f00f67ee49fd1bccc70c8966f2a5ad15f..5592581feeedd0bf030a98a80f3e4e09eedb9403 100644
--- a/components/mus/public/interfaces/event_matcher.mojom
+++ b/components/mus/public/interfaces/event_matcher.mojom
@@ -24,6 +24,10 @@ struct EventTypeMatcher {
ui.mojom.EventType type;
};
+struct EventMultTypeMatcher {
+ array<ui.mojom.EventType> types;
+};
+
struct EventFlagsMatcher {
// A bitfield of kEventFlag* and kMouseEventFlag* values in
// input_event_constants.mojom.
@@ -45,6 +49,7 @@ struct EventMatcher {
// TODO(jamescook): Move this to somewhere accelerator-specific.
ui.mojom.AcceleratorPhase accelerator_phase;
EventTypeMatcher? type_matcher;
+ EventMultTypeMatcher? types_matcher;
sadrul 2016/06/27 14:44:54 Instead of this, it'd be better to use the Pointer
riajiang 2016/06/28 21:52:51 Done.
EventFlagsMatcher? flags_matcher;
// These flags will be stripped from incoming events' flags when comparing
// against |flags_matcher|.

Powered by Google App Engine
This is Rietveld 408576698