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

Side by Side Diff: ui/events/event_constants.h

Issue 143023003: Fully support the autohide shelf option for touch UI on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/events/event.cc ('k') | ui/metro_viewer/metro_viewer_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_EVENTS_EVENT_CONSTANTS_H_ 5 #ifndef UI_EVENTS_EVENT_CONSTANTS_H_
6 #define UI_EVENTS_EVENT_CONSTANTS_H_ 6 #define UI_EVENTS_EVENT_CONSTANTS_H_
7 7
8 namespace ui { 8 namespace ui {
9 9
10 // Event types. (prefixed because of a conflict with windows headers) 10 // Event types. (prefixed because of a conflict with windows headers)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 ET_GESTURE_PINCH_BEGIN, 42 ET_GESTURE_PINCH_BEGIN,
43 ET_GESTURE_PINCH_END, 43 ET_GESTURE_PINCH_END,
44 ET_GESTURE_PINCH_UPDATE, 44 ET_GESTURE_PINCH_UPDATE,
45 ET_GESTURE_LONG_PRESS, 45 ET_GESTURE_LONG_PRESS,
46 ET_GESTURE_LONG_TAP, 46 ET_GESTURE_LONG_TAP,
47 // A SWIPE gesture can happen at the end of a TAP_UP gesture if the 47 // A SWIPE gesture can happen at the end of a TAP_UP gesture if the
48 // finger(s) were moving quickly before they are released. 48 // finger(s) were moving quickly before they are released.
49 ET_GESTURE_MULTIFINGER_SWIPE, 49 ET_GESTURE_MULTIFINGER_SWIPE,
50 ET_GESTURE_SHOW_PRESS, 50 ET_GESTURE_SHOW_PRESS,
51 51
52 // Sent by Win8+ metro when the user swipes from the bottom or top.
53 ET_GESTURE_WIN8_EDGE_SWIPE,
54
52 // Scroll support. 55 // Scroll support.
53 // TODO[davemoore] we need to unify these events w/ touch and gestures. 56 // TODO[davemoore] we need to unify these events w/ touch and gestures.
54 ET_SCROLL, 57 ET_SCROLL,
55 ET_SCROLL_FLING_START, 58 ET_SCROLL_FLING_START,
56 ET_SCROLL_FLING_CANCEL, 59 ET_SCROLL_FLING_CANCEL,
57 60
58 // Sent by the system to indicate any modal type operations, such as drag and 61 // Sent by the system to indicate any modal type operations, such as drag and
59 // drop or menus, should stop. 62 // drop or menus, should stop.
60 ET_CANCEL_MODE, 63 ET_CANCEL_MODE,
61 64
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 EP_PREDISPATCH, 111 EP_PREDISPATCH,
109 EP_PRETARGET, 112 EP_PRETARGET,
110 EP_TARGET, 113 EP_TARGET,
111 EP_POSTTARGET, 114 EP_POSTTARGET,
112 EP_POSTDISPATCH 115 EP_POSTDISPATCH
113 }; 116 };
114 117
115 } // namespace ui 118 } // namespace ui
116 119
117 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ 120 #endif // UI_EVENTS_EVENT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/events/event.cc ('k') | ui/metro_viewer/metro_viewer_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698