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_BASE_TOUCH_SELECTION_BOUND_H_ | 5 #ifndef UI_BASE_TOUCH_SELECTION_BOUND_H_ |
6 #define UI_BASE_TOUCH_SELECTION_BOUND_H_ | 6 #define UI_BASE_TOUCH_SELECTION_BOUND_H_ |
7 | 7 |
8 #include "ui/base/ui_base_export.h" | 8 #include "ui/base/ui_base_export.h" |
9 #include "ui/gfx/point.h" | 9 #include "ui/gfx/geometry/point.h" |
10 #include "ui/gfx/point_f.h" | 10 #include "ui/gfx/geometry/point_f.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 struct ViewportSelectionBound; | 13 struct ViewportSelectionBound; |
14 } | 14 } |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
17 class Rect; | 17 class Rect; |
18 } | 18 } |
19 | 19 |
20 namespace ui { | 20 namespace ui { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 const SelectionBound& rhs); | 66 const SelectionBound& rhs); |
67 UI_BASE_EXPORT bool operator!=(const SelectionBound& lhs, | 67 UI_BASE_EXPORT bool operator!=(const SelectionBound& lhs, |
68 const SelectionBound& rhs); | 68 const SelectionBound& rhs); |
69 | 69 |
70 UI_BASE_EXPORT gfx::Rect RectBetweenSelectionBounds(const SelectionBound& b1, | 70 UI_BASE_EXPORT gfx::Rect RectBetweenSelectionBounds(const SelectionBound& b1, |
71 const SelectionBound& b2); | 71 const SelectionBound& b2); |
72 | 72 |
73 } // namespace ui | 73 } // namespace ui |
74 | 74 |
75 #endif // UI_BASE_TOUCH_SELECTION_BOUND_H_ | 75 #endif // UI_BASE_TOUCH_SELECTION_BOUND_H_ |
OLD | NEW |