| Index: ui/gfx/selection_bound.cc
|
| diff --git a/ui/base/touch/selection_bound.cc b/ui/gfx/selection_bound.cc
|
| similarity index 95%
|
| rename from ui/base/touch/selection_bound.cc
|
| rename to ui/gfx/selection_bound.cc
|
| index 036bc6f9051aa8937c923e4cbf01aa97877634a7..9be1c6062e8d11149a106a0278a4db58397ce94d 100644
|
| --- a/ui/base/touch/selection_bound.cc
|
| +++ b/ui/gfx/selection_bound.cc
|
| @@ -5,20 +5,18 @@
|
| #include <algorithm>
|
|
|
| #include "base/macros.h"
|
| -#include "ui/base/touch/selection_bound.h"
|
| #include "ui/gfx/geometry/point_conversions.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| #include "ui/gfx/geometry/rect_f.h"
|
| +#include "ui/gfx/selection_bound.h"
|
|
|
| -namespace ui {
|
| +namespace gfx {
|
|
|
| -SelectionBound::SelectionBound() : type_(EMPTY), visible_(false) {
|
| -}
|
| +SelectionBound::SelectionBound() : type_(EMPTY), visible_(false) {}
|
|
|
| SelectionBound::SelectionBound(const SelectionBound& other) = default;
|
|
|
| -SelectionBound::~SelectionBound() {
|
| -}
|
| +SelectionBound::~SelectionBound() {}
|
|
|
| void SelectionBound::SetEdgeTop(const gfx::PointF& value) {
|
| edge_top_ = value;
|
| @@ -82,4 +80,4 @@ gfx::RectF RectFBetweenSelectionBounds(const SelectionBound& b1,
|
| return gfx::RectF(top_left, gfx::SizeF(diff.x(), diff.y()));
|
| }
|
|
|
| -} // namespace ui
|
| +} // namespace gfx
|
|
|