Chromium Code Reviews| Index: ui/base/touch/touch_editing_controller.h |
| diff --git a/ui/base/touch/touch_editing_controller.h b/ui/base/touch/touch_editing_controller.h |
| index c8c531d74e1900576add497ca0b34f32974cc9fc..e1a924e73b37931b765961fe3c71d5ab338f765b 100644 |
| --- a/ui/base/touch/touch_editing_controller.h |
| +++ b/ui/base/touch/touch_editing_controller.h |
| @@ -6,41 +6,12 @@ |
| #define UI_BASE_TOUCH_TOUCH_EDITING_CONTROLLER_H_ |
| #include "ui/base/models/simple_menu_model.h" |
| +#include "ui/base/touch/selection_bound.h" |
|
mfomitchev
2014/12/01 21:36:24
Declare class here and move include to cc?
mohsen
2014/12/02 05:17:02
Done.
|
| #include "ui/gfx/point.h" |
| #include "ui/gfx/rect.h" |
| namespace ui { |
| -// Bound of a selected region. |
| -struct UI_BASE_EXPORT SelectionBound { |
| - public: |
| - enum Type { |
| - LEFT, |
| - RIGHT, |
| - CENTER, |
| - EMPTY, |
| - LAST = EMPTY |
| - }; |
| - |
| - SelectionBound(); |
| - ~SelectionBound(); |
| - |
| - int GetHeight() const; |
| - |
| - Type type; |
| - |
| - gfx::Point edge_top; |
| - gfx::Point edge_bottom; |
| -}; |
| - |
| -UI_BASE_EXPORT bool operator==(const SelectionBound& lhs, |
| - const SelectionBound& rhs); |
| -UI_BASE_EXPORT bool operator!=(const SelectionBound& lhs, |
| - const SelectionBound& rhs); |
| - |
| -UI_BASE_EXPORT gfx::Rect RectBetweenSelectionBounds(const SelectionBound& b1, |
| - const SelectionBound& b2); |
| - |
| // An interface implemented by widget that has text that can be selected/edited |
| // using touch. |
| class UI_BASE_EXPORT TouchEditable : public ui::SimpleMenuModel::Delegate { |