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

Unified Diff: mojo/services/input_events/interfaces/input_event_constants.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.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: mojo/services/input_events/interfaces/input_event_constants.mojom
diff --git a/mojo/services/input_events/interfaces/input_event_constants.mojom b/mojo/services/input_events/interfaces/input_event_constants.mojom
index 9c846810eba4251497b9bcc0f5e8c8deb05b851a..1f1eb2c559352193f995af7c489bd14a66d051a6 100644
--- a/mojo/services/input_events/interfaces/input_event_constants.mojom
+++ b/mojo/services/input_events/interfaces/input_event_constants.mojom
@@ -18,25 +18,25 @@ enum EventType {
// This mirrors ui::EventFlags
// TODO(morrita): Use shift operator once it is available.
enum EventFlags {
- NONE = 0,
- CAPS_LOCK_DOWN = 1,
- SHIFT_DOWN = 2,
- CONTROL_DOWN = 4,
- ALT_DOWN = 8,
- LEFT_MOUSE_BUTTON = 16,
- MIDDLE_MOUSE_BUTTON = 32,
- RIGHT_MOUSE_BUTTON = 64,
- COMMAND_DOWN = 128,
- EXTENDED = 256,
- IS_SYNTHESIZED = 512,
- ALTGR_DOWN = 1024,
- MOD3_DOWN = 2048
+ NONE = 0,
+ CAPS_LOCK_DOWN = 1,
+ SHIFT_DOWN = 2,
+ CONTROL_DOWN = 4,
+ ALT_DOWN = 8,
+ LEFT_MOUSE_BUTTON = 16,
+ MIDDLE_MOUSE_BUTTON = 32,
+ RIGHT_MOUSE_BUTTON = 64,
+ COMMAND_DOWN = 128,
+ EXTENDED = 256,
+ IS_SYNTHESIZED = 512,
+ ALTGR_DOWN = 1024,
+ MOD3_DOWN = 2048,
};
enum MouseEventFlags {
- IS_DOUBLE_CLICK = 65536,
- IS_TRIPLE_CLICK = 131072,
- IS_NON_CLIENT = 262144,
+ IS_DOUBLE_CLICK = 65536,
+ IS_TRIPLE_CLICK = 131072,
+ IS_NON_CLIENT = 262144,
// TODO(erg): Move accessibility flags and maybe synthetic touch events here.
};

Powered by Google App Engine
This is Rietveld 408576698