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

Unified Diff: components/mus/public/cpp/lib/event_matcher.cc

Issue 1759273002: Add AcceleratorType to EventMatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/cpp/lib/event_matcher.cc
diff --git a/components/mus/public/cpp/lib/event_matcher.cc b/components/mus/public/cpp/lib/event_matcher.cc
index eeafcac04822ce3a769b5bbb07538d8446bc7bff..1e16c21bdb29084e2a7bfde10864c543f8ef4968 100644
--- a/components/mus/public/cpp/lib/event_matcher.cc
+++ b/components/mus/public/cpp/lib/event_matcher.cc
@@ -8,6 +8,7 @@ namespace mus {
mojom::EventMatcherPtr CreateKeyMatcher(mojom::KeyboardCode code, int flags) {
mojom::EventMatcherPtr matcher(mojom::EventMatcher::New());
+ matcher->accelerator_matcher = mojom::AcceleratorPhaseMatcher::New();
matcher->type_matcher = mojom::EventTypeMatcher::New();
matcher->flags_matcher = mojom::EventFlagsMatcher::New();
matcher->ignore_flags_matcher = mojom::EventFlagsMatcher::New();

Powered by Google App Engine
This is Rietveld 408576698