OLD | NEW |
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_POINT_H_ | 5 #ifndef UI_EVENTS_GESTURES_GESTURE_POINT_H_ |
6 #define UI_EVENTS_GESTURES_GESTURE_POINT_H_ | 6 #define UI_EVENTS_GESTURES_GESTURE_POINT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "ui/events/gestures/velocity_calculator.h" | 9 #include "ui/events/gestures/velocity_calculator.h" |
10 #include "ui/gfx/point.h" | 10 #include "ui/gfx/geometry/point.h" |
11 #include "ui/gfx/rect.h" | 11 #include "ui/gfx/rect.h" |
12 | 12 |
13 namespace ui { | 13 namespace ui { |
14 class TouchEvent; | 14 class TouchEvent; |
15 | 15 |
16 // A GesturePoint represents a single touch-point/finger during a gesture | 16 // A GesturePoint represents a single touch-point/finger during a gesture |
17 // recognition process. | 17 // recognition process. |
18 class GesturePoint { | 18 class GesturePoint { |
19 public: | 19 public: |
20 GesturePoint(); | 20 GesturePoint(); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 137 |
138 float max_touch_move_in_pixels_for_click_squared_; | 138 float max_touch_move_in_pixels_for_click_squared_; |
139 float max_distance_between_taps_for_double_tap_squared_; | 139 float max_distance_between_taps_for_double_tap_squared_; |
140 | 140 |
141 DISALLOW_COPY_AND_ASSIGN(GesturePoint); | 141 DISALLOW_COPY_AND_ASSIGN(GesturePoint); |
142 }; | 142 }; |
143 | 143 |
144 } // namespace ui | 144 } // namespace ui |
145 | 145 |
146 #endif // UI_EVENTS_GESTURES_GESTURE_POINT_H_ | 146 #endif // UI_EVENTS_GESTURES_GESTURE_POINT_H_ |
OLD | NEW |