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

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

Issue 10037012: Three Finger Swipe (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove pinch/scroll start/end calls Created 8 years, 8 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
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_BASE_EVENTS_H_ 5 #ifndef UI_BASE_EVENTS_H_
6 #define UI_BASE_EVENTS_H_ 6 #define UI_BASE_EVENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/event_types.h" 9 #include "base/event_types.h"
10 #include "ui/base/keycodes/keyboard_codes.h" 10 #include "ui/base/keycodes/keyboard_codes.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 ET_GESTURE_SCROLL_BEGIN, 47 ET_GESTURE_SCROLL_BEGIN,
48 ET_GESTURE_SCROLL_END, 48 ET_GESTURE_SCROLL_END,
49 ET_GESTURE_SCROLL_UPDATE, 49 ET_GESTURE_SCROLL_UPDATE,
50 ET_GESTURE_TAP, 50 ET_GESTURE_TAP,
51 ET_GESTURE_TAP_DOWN, 51 ET_GESTURE_TAP_DOWN,
52 ET_GESTURE_DOUBLE_TAP, 52 ET_GESTURE_DOUBLE_TAP,
53 ET_GESTURE_PINCH_BEGIN, 53 ET_GESTURE_PINCH_BEGIN,
54 ET_GESTURE_PINCH_END, 54 ET_GESTURE_PINCH_END,
55 ET_GESTURE_PINCH_UPDATE, 55 ET_GESTURE_PINCH_UPDATE,
56 ET_GESTURE_LONG_PRESS, 56 ET_GESTURE_LONG_PRESS,
57 ET_GESTURE_THREE_FINGER_SWIPE,
57 58
58 // Scroll support. 59 // Scroll support.
59 // TODO[davemoore] we need to unify these events w/ touch and gestures. 60 // TODO[davemoore] we need to unify these events w/ touch and gestures.
60 ET_SCROLL, 61 ET_SCROLL,
61 ET_SCROLL_FLING_START, 62 ET_SCROLL_FLING_START,
62 ET_SCROLL_FLING_CANCEL, 63 ET_SCROLL_FLING_CANCEL,
63 }; 64 };
64 65
65 // Event flags currently supported 66 // Event flags currently supported
66 enum EventFlags { 67 enum EventFlags {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 191
191 // Returns true if event is noop. 192 // Returns true if event is noop.
192 UI_EXPORT bool IsNoopEvent(const base::NativeEvent& event); 193 UI_EXPORT bool IsNoopEvent(const base::NativeEvent& event);
193 194
194 // Creates and returns no-op event. 195 // Creates and returns no-op event.
195 UI_EXPORT base::NativeEvent CreateNoopEvent(); 196 UI_EXPORT base::NativeEvent CreateNoopEvent();
196 197
197 } // namespace ui 198 } // namespace ui
198 199
199 #endif // UI_BASE_EVENTS_H_ 200 #endif // UI_BASE_EVENTS_H_
OLDNEW
« no previous file with comments | « ui/aura/gestures/gesture_recognizer_unittest.cc ('k') | ui/base/gestures/gesture_configuration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698