OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_H_ | 5 #ifndef UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_H_ |
6 #define UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_H_ | 6 #define UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/time/time.h" | 9 #include "base/time/time.h" |
9 #include "ui/base/touch/selection_bound.h" | 10 #include "ui/base/touch/selection_bound.h" |
10 #include "ui/gfx/geometry/point_f.h" | 11 #include "ui/gfx/geometry/point_f.h" |
11 #include "ui/gfx/geometry/rect_f.h" | 12 #include "ui/gfx/geometry/rect_f.h" |
12 #include "ui/gfx/geometry/vector2d_f.h" | 13 #include "ui/gfx/geometry/vector2d_f.h" |
13 #include "ui/touch_selection/longpress_drag_selector.h" | 14 #include "ui/touch_selection/longpress_drag_selector.h" |
14 #include "ui/touch_selection/selection_event_type.h" | 15 #include "ui/touch_selection/selection_event_type.h" |
15 #include "ui/touch_selection/touch_handle.h" | 16 #include "ui/touch_selection/touch_handle.h" |
16 #include "ui/touch_selection/touch_handle_orientation.h" | 17 #include "ui/touch_selection/touch_handle_orientation.h" |
17 #include "ui/touch_selection/ui_touch_selection_export.h" | 18 #include "ui/touch_selection/ui_touch_selection_export.h" |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 // Whether a selection handle was dragged during the current 'selection | 237 // Whether a selection handle was dragged during the current 'selection |
237 // session' - i.e. since the current selection has been activated. | 238 // session' - i.e. since the current selection has been activated. |
238 bool selection_handle_dragged_; | 239 bool selection_handle_dragged_; |
239 | 240 |
240 DISALLOW_COPY_AND_ASSIGN(TouchSelectionController); | 241 DISALLOW_COPY_AND_ASSIGN(TouchSelectionController); |
241 }; | 242 }; |
242 | 243 |
243 } // namespace ui | 244 } // namespace ui |
244 | 245 |
245 #endif // UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_H_ | 246 #endif // UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_H_ |
OLD | NEW |