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

Unified Diff: components/mus/public/cpp/event_matcher.h

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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 | « components/mus/common/transient_window_utils.h ('k') | components/mus/public/cpp/lib/event_matcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/event_matcher.h
diff --git a/components/mus/public/cpp/event_matcher.h b/components/mus/public/cpp/event_matcher.h
index d25dc389677213f1f7954ccea760a55359c79b3a..d6e25cbe63b9ae68f5aacb79bda7a51343eb94d3 100644
--- a/components/mus/public/cpp/event_matcher.h
+++ b/components/mus/public/cpp/event_matcher.h
@@ -11,8 +11,9 @@
namespace mus {
-mojom::EventMatcherPtr CreateKeyMatcher(mojom::KeyboardCode code,
- mojom::EventFlags flags);
+// |flags| is a bitfield of kEventFlag* and kMouseEventFlag* values in
+// input_event_constants.mojom.
+mojom::EventMatcherPtr CreateKeyMatcher(mojom::KeyboardCode code, int flags);
} // namespace mus
« no previous file with comments | « components/mus/common/transient_window_utils.h ('k') | components/mus/public/cpp/lib/event_matcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698