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

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

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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
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 "base/logging.h" 8 #include "base/logging.h"
9 #include "ui/base/ui_export.h"
9 #include "ui/events/event_constants.h" 10 #include "ui/events/event_constants.h"
10 #include "ui/events/events_export.h" 11 #include "ui/events/events_export.h"
11 #include "ui/gfx/rect.h" 12 #include "ui/gfx/rect.h"
12 13
13 namespace ui { 14 namespace ui {
14 15
15 class GestureEvent; 16 class GestureEvent;
16 class TouchEvent; 17 class TouchEvent;
17 18
18 struct EVENTS_EXPORT GestureEventDetails { 19 struct EVENTS_EXPORT GestureEventDetails {
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 virtual ~GestureEventHelper() { 207 virtual ~GestureEventHelper() {
207 } 208 }
208 209
209 virtual bool DispatchLongPressGestureEvent(GestureEvent* event) = 0; 210 virtual bool DispatchLongPressGestureEvent(GestureEvent* event) = 0;
210 virtual bool DispatchCancelTouchEvent(TouchEvent* event) = 0; 211 virtual bool DispatchCancelTouchEvent(TouchEvent* event) = 0;
211 }; 212 };
212 213
213 } // namespace ui 214 } // namespace ui
214 215
215 #endif // UI_EVENTS_GESTURES_GESTURE_TYPES_H_ 216 #endif // UI_EVENTS_GESTURES_GESTURE_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698