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

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

Issue 861683003: Move services code brought in from Mojo to live under //third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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: mojo/services/input_events/public/interfaces/input_event_constants.mojom
diff --git a/mojo/services/input_events/public/interfaces/input_event_constants.mojom b/mojo/services/input_events/public/interfaces/input_event_constants.mojom
deleted file mode 100644
index f137fb387791fc8b82486a4bed2044cf4e983943..0000000000000000000000000000000000000000
--- a/mojo/services/input_events/public/interfaces/input_event_constants.mojom
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module mojo;
-
-// This mirrors ui::EventType
-enum EventType {
- UNKNOWN ,
- MOUSE_PRESSED,
- MOUSE_DRAGGED,
- MOUSE_RELEASED,
- MOUSE_MOVED,
- MOUSE_ENTERED,
- MOUSE_EXITED,
- KEY_PRESSED,
- KEY_RELEASED,
- MOUSEWHEEL,
- MOUSE_CAPTURE_CHANGED,
- TOUCH_RELEASED,
- TOUCH_PRESSED,
- TOUCH_MOVED,
- TOUCH_CANCELLED,
- DROP_TARGET_EVENT,
- TRANSLATED_KEY_PRESS,
- TRANSLATED_KEY_RELEASE,
- GESTURE_SCROLL_BEGIN,
- GESTURE_SCROLL_END,
- GESTURE_SCROLL_UPDATE,
- GESTURE_TAP,
- GESTURE_TAP_DOWN,
- GESTURE_TAP_CANCEL,
- GESTURE_TAP_UNCONFIRMED,
- GESTURE_DOUBLE_TAP,
- GESTURE_BEGIN,
- GESTURE_END,
- GESTURE_TWO_FINGER_TAP,
- GESTURE_PINCH_BEGIN,
- GESTURE_PINCH_END,
- GESTURE_PINCH_UPDATE,
- GESTURE_LONG_PRESS,
- GESTURE_LONG_TAP,
- GESTURE_SWIPE,
- GESTURE_SHOW_PRESS,
- GESTURE_WIN8_EDGE_SWIPE,
- SCROLL,
- SCROLL_FLING_START,
- SCROLL_FLING_CANCEL,
- CANCEL_MODE,
- UMA_DATA
-};
-
-// 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
-};
-
-enum MouseEventFlags {
- IS_DOUBLE_CLICK = 65536,
- IS_TRIPLE_CLICK = 131072,
- IS_NON_CLIENT = 262144,
-
- // TODO(erg): Move accessibility flags and maybe synthetic touch events here.
-};
« no previous file with comments | « mojo/services/input_events/public/interfaces/BUILD.gn ('k') | mojo/services/input_events/public/interfaces/input_events.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698