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

Unified Diff: cc/output/compositor_frame_metadata.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/output/compositor_frame_metadata.h
diff --git a/cc/output/compositor_frame_metadata.h b/cc/output/compositor_frame_metadata.h
index 54b2047fcd64542aa2aee283aeac45672f0938d7..2ac6a334d83720cc1cfb5633109136cddedd92bd 100644
--- a/cc/output/compositor_frame_metadata.h
+++ b/cc/output/compositor_frame_metadata.h
@@ -10,12 +10,13 @@
#include <vector>
#include "cc/base/cc_export.h"
-#include "cc/output/viewport_selection_bound.h"
+#include "cc/input/selection.h"
#include "cc/surfaces/surface_id.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/events/latency_info.h"
#include "ui/gfx/geometry/size_f.h"
#include "ui/gfx/geometry/vector2d_f.h"
+#include "ui/gfx/selection_bound.h"
namespace cc {
@@ -54,7 +55,7 @@ class CC_EXPORT CompositorFrameMetadata {
// Provides selection region updates relative to the current viewport. If the
// selection is empty or otherwise unused, the bound types will indicate such.
- ViewportSelection selection;
+ Selection<gfx::SelectionBound> selection;
std::vector<ui::LatencyInfo> latency_info;

Powered by Google App Engine
This is Rietveld 408576698