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

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

Issue 10448102: Adds switch to disable generating mouse events from touch events and (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove released and fix bug in GestureRecognizerImpl Created 8 years, 6 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/aura/root_window.cc ('k') | ui/base/gestures/gesture_recognizer_impl.cc » ('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_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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ET_DROP_TARGET_EVENT, 45 ET_DROP_TARGET_EVENT,
46 ET_FOCUS_CHANGE, 46 ET_FOCUS_CHANGE,
47 ET_TRANSLATED_KEY_PRESS, 47 ET_TRANSLATED_KEY_PRESS,
48 ET_TRANSLATED_KEY_RELEASE, 48 ET_TRANSLATED_KEY_RELEASE,
49 49
50 // GestureEvent types 50 // GestureEvent types
51 ET_GESTURE_SCROLL_BEGIN, 51 ET_GESTURE_SCROLL_BEGIN,
52 ET_GESTURE_SCROLL_END, 52 ET_GESTURE_SCROLL_END,
53 ET_GESTURE_SCROLL_UPDATE, 53 ET_GESTURE_SCROLL_UPDATE,
54 ET_GESTURE_TAP, 54 ET_GESTURE_TAP,
55 ET_GESTURE_TAP_DOWN, 55 ET_GESTURE_TAP_DOWN, // Sent before any other gesture types.
56 ET_GESTURE_TAP_UP, 56 ET_GESTURE_TAP_UP, // Sent after any other gestures.
57 ET_GESTURE_DOUBLE_TAP, 57 ET_GESTURE_DOUBLE_TAP,
58 ET_GESTURE_PINCH_BEGIN, 58 ET_GESTURE_PINCH_BEGIN,
59 ET_GESTURE_PINCH_END, 59 ET_GESTURE_PINCH_END,
60 ET_GESTURE_PINCH_UPDATE, 60 ET_GESTURE_PINCH_UPDATE,
61 ET_GESTURE_LONG_PRESS, 61 ET_GESTURE_LONG_PRESS,
62 // A SWIPE gesture can happen at the end of a TAP_UP gesture if the 62 // A SWIPE gesture can happen at the end of a TAP_UP gesture if the
63 // finger(s) were moving quickly before they are released. 63 // finger(s) were moving quickly before they are released.
64 ET_GESTURE_MULTIFINGER_SWIPE, 64 ET_GESTURE_MULTIFINGER_SWIPE,
65 65
66 // Scroll support. 66 // Scroll support.
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // Creates and returns no-op event. 208 // Creates and returns no-op event.
209 UI_EXPORT base::NativeEvent CreateNoopEvent(); 209 UI_EXPORT base::NativeEvent CreateNoopEvent();
210 210
211 #if defined(OS_WIN) 211 #if defined(OS_WIN)
212 UI_EXPORT int GetModifiersFromACCEL(const ACCEL& accel); 212 UI_EXPORT int GetModifiersFromACCEL(const ACCEL& accel);
213 #endif 213 #endif
214 214
215 } // namespace ui 215 } // namespace ui
216 216
217 #endif // UI_BASE_EVENTS_H_ 217 #endif // UI_BASE_EVENTS_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/base/gestures/gesture_recognizer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698