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

Unified Diff: services/ui/public/interfaces/event_matcher.mojom

Issue 2125883003: Adds ability for pre-target accelerators to not consume events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 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 | « services/ui/public/cpp/window_tree_client.h ('k') | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/event_matcher.mojom
diff --git a/services/ui/public/interfaces/event_matcher.mojom b/services/ui/public/interfaces/event_matcher.mojom
index 33e74aa3bae0a20c99395d99cb35b1ef174d2c49..0ef8b50548482633827203c39b70ca3528f0514e 100644
--- a/services/ui/public/interfaces/event_matcher.mojom
+++ b/services/ui/public/interfaces/event_matcher.mojom
@@ -42,6 +42,7 @@ struct EventFlagsMatcher {
// A matcher to match any key-press event would be:
// - |type_matcher.type| = ui::mojom::EventType::KEY_PRESSED
struct EventMatcher {
+ // |accelerator_phase| is only applicable to accelerators.
// TODO(jamescook): Move this to somewhere accelerator-specific.
ui.mojom.AcceleratorPhase accelerator_phase;
EventTypeMatcher? type_matcher;
« no previous file with comments | « services/ui/public/cpp/window_tree_client.h ('k') | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698