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

Unified Diff: cc/output/viewport_selection_bound.h

Issue 494823002: Plumb selection edge points through the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 4 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
« no previous file with comments | « cc/input/layer_selection_bound.cc ('k') | cc/output/viewport_selection_bound.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/viewport_selection_bound.h
diff --git a/cc/output/viewport_selection_bound.h b/cc/output/viewport_selection_bound.h
index bb4ed12c02b48816735998a6366898e9355022bc..77298e71f8320e4ea8e3281983b9d23a0f073d8e 100644
--- a/cc/output/viewport_selection_bound.h
+++ b/cc/output/viewport_selection_bound.h
@@ -7,7 +7,7 @@
#include "cc/base/cc_export.h"
#include "cc/input/selection_bound_type.h"
-#include "ui/gfx/geometry/rect_f.h"
+#include "ui/gfx/geometry/point_f.h"
namespace cc {
@@ -17,7 +17,8 @@ struct CC_EXPORT ViewportSelectionBound {
~ViewportSelectionBound();
SelectionBoundType type;
- gfx::RectF viewport_rect;
+ gfx::PointF edge_top;
+ gfx::PointF edge_bottom;
bool visible;
};
« no previous file with comments | « cc/input/layer_selection_bound.cc ('k') | cc/output/viewport_selection_bound.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698