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

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

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
Index: components/mus/public/interfaces/input_events.mojom
diff --git a/components/mus/public/interfaces/input_events.mojom b/components/mus/public/interfaces/input_events.mojom
index 3647b665268d289f61775aff43a35d7d8b8d5728..2ea63d0ccefb3b66dc0f32ae59db2c0e72ba22e3 100644
--- a/components/mus/public/interfaces/input_events.mojom
+++ b/components/mus/public/interfaces/input_events.mojom
@@ -104,8 +104,11 @@ struct BrushData {
struct Event {
// TODO(sky): rename to type.
EventType action;
+ // A bitfield of kEventFlag* and kMouseEventFlag* values in
+ // input_event_constants.mojom.
+ //
// TODO(sky): parts of this should move to PointerData.
- EventFlags flags;
+ int32 flags;
// Time in microseconds from when the platform was started.
// This value accurately orders events w.r.t. to each other but
// does not position them at an absolute time.
« no previous file with comments | « components/mus/public/interfaces/input_event_matcher.mojom ('k') | components/mus/public/interfaces/input_key_codes.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698