1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 // This mirrors ui::EventType
19 MOUSE_CAPTURE_CHANGED,
26 TRANSLATED_KEY_RELEASE,
29 GESTURE_SCROLL_UPDATE,
33 GESTURE_TAP_UNCONFIRMED,
37 GESTURE_TWO_FINGER_TAP,
45 GESTURE_WIN8_EDGE_SWIPE,
53 // This mirrors ui::EventFlags
54 // TODO(morrita): Use shift operator once it is available.
61 LEFT_MOUSE_BUTTON = 16,
62 MIDDLE_MOUSE_BUTTON = 32,
63 RIGHT_MOUSE_BUTTON = 64,
71 enum MouseEventFlags {
72 IS_DOUBLE_CLICK = 65536,
73 IS_TRIPLE_CLICK = 131072,
74 IS_NON_CLIENT = 262144,
76 // TODO(erg): Move accessibility flags and maybe synthetic touch events here.