Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1001)

Unified Diff: cc/input/layer_selection_bound.h

Issue 2030033003: Replace cc::ViewportSelectionBound with gfx::SelectionBound (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android build compiles locally Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/input/layer_selection_bound.h
diff --git a/cc/input/layer_selection_bound.h b/cc/input/layer_selection_bound.h
index 333d1eff569873930f256d2a9f3352351293e4de..7e1516c675ae1d6e1d5e8204c03fba5889ae19e0 100644
--- a/cc/input/layer_selection_bound.h
+++ b/cc/input/layer_selection_bound.h
@@ -7,8 +7,8 @@
#include "cc/base/cc_export.h"
#include "cc/input/selection.h"
-#include "cc/input/selection_bound_type.h"
#include "ui/gfx/geometry/point.h"
+#include "ui/gfx/selection_bound.h"
namespace cc {
@@ -18,11 +18,12 @@ class LayerSelectionBound;
} // namespace proto
// Marker for a selection end-point attached to a specific layer.
+// TODO(fsamuel): This could be unified with gfx::SelectionBound.
struct CC_EXPORT LayerSelectionBound {
LayerSelectionBound();
~LayerSelectionBound();
- SelectionBoundType type;
+ gfx::SelectionBound::Type type;
gfx::Point edge_top;
gfx::Point edge_bottom;
int layer_id;
« no previous file with comments | « cc/cc.gyp ('k') | cc/input/layer_selection_bound.cc » ('j') | ui/gfx/ipc/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698