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

Side by Side Diff: ui/events/gestures/gesture_types.h

Issue 282593002: Reland Unified Gesture Recognizer for Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again... Created 6 years, 7 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/gestures/gesture_recognizer_impl.cc ('k') | ui/events/gestures/motion_event_aura.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_GESTURES_GESTURE_TYPES_H_ 5 #ifndef UI_EVENTS_GESTURES_GESTURE_TYPES_H_
6 #define UI_EVENTS_GESTURES_GESTURE_TYPES_H_ 6 #define UI_EVENTS_GESTURES_GESTURE_TYPES_H_
7 7
8 #include "ui/events/events_export.h" 8 #include "ui/events/events_export.h"
9 9
10 namespace ui { 10 namespace ui {
(...skipping 10 matching lines...) Expand all
21 21
22 // GestureEventHelper creates implementation-specific gesture events and 22 // GestureEventHelper creates implementation-specific gesture events and
23 // can dispatch them. 23 // can dispatch them.
24 class EVENTS_EXPORT GestureEventHelper { 24 class EVENTS_EXPORT GestureEventHelper {
25 public: 25 public:
26 virtual ~GestureEventHelper() { 26 virtual ~GestureEventHelper() {
27 } 27 }
28 28
29 // Returns true if this helper can dispatch events to |consumer|. 29 // Returns true if this helper can dispatch events to |consumer|.
30 virtual bool CanDispatchToConsumer(GestureConsumer* consumer) = 0; 30 virtual bool CanDispatchToConsumer(GestureConsumer* consumer) = 0;
31 virtual void DispatchPostponedGestureEvent(GestureEvent* event) = 0; 31 virtual void DispatchGestureEvent(GestureEvent* event) = 0;
32 virtual void DispatchCancelTouchEvent(TouchEvent* event) = 0; 32 virtual void DispatchCancelTouchEvent(TouchEvent* event) = 0;
33 }; 33 };
34 34
35 } // namespace ui 35 } // namespace ui
36 36
37 #endif // UI_EVENTS_GESTURES_GESTURE_TYPES_H_ 37 #endif // UI_EVENTS_GESTURES_GESTURE_TYPES_H_
OLDNEW
« no previous file with comments | « ui/events/gestures/gesture_recognizer_impl.cc ('k') | ui/events/gestures/motion_event_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698