| 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..e4f5205b4f6c9c8c9a94c2653cd1efcc538296d9 100644
|
| --- a/ui/base/touch/touch_editing_controller.h
|
| +++ b/ui/base/touch/touch_editing_controller.h
|
| @@ -6,40 +6,14 @@
|
| #define UI_BASE_TOUCH_TOUCH_EDITING_CONTROLLER_H_
|
|
|
| #include "ui/base/models/simple_menu_model.h"
|
| -#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;
|
| +namespace gfx {
|
| +class Point;
|
| +class Rect;
|
| +}
|
|
|
| - 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);
|
| +namespace ui {
|
| +class SelectionBound;
|
|
|
| // An interface implemented by widget that has text that can be selected/edited
|
| // using touch.
|
|
|