Index: cc/output/compositor_frame_metadata.h |
diff --git a/cc/output/compositor_frame_metadata.h b/cc/output/compositor_frame_metadata.h |
index 54c3ce61a0fae5e8c0dab07b5c30d5e2a9ad31c1..f21a2e3dfd1f613160b053bb1f56163659ae320a 100644 |
--- a/cc/output/compositor_frame_metadata.h |
+++ b/cc/output/compositor_frame_metadata.h |
@@ -8,6 +8,7 @@ |
#include <vector> |
#include "cc/base/cc_export.h" |
+#include "cc/output/viewport_selection_bound.h" |
#include "ui/events/latency_info.h" |
#include "ui/gfx/size_f.h" |
#include "ui/gfx/vector2d_f.h" |
@@ -40,6 +41,11 @@ class CC_EXPORT CompositorFrameMetadata { |
gfx::Vector2dF location_bar_content_translation; |
float overdraw_bottom_height; |
+ // Provides selection region updates relative to the current viewport. If the |
+ // selection is empty or otherwise unused, the bound types will indicate such. |
+ ViewportSelectionBound selection_anchor; |
+ ViewportSelectionBound selection_focus; |
+ |
std::vector<ui::LatencyInfo> latency_info; |
}; |