Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 1a1a9cfebe168d676730b0c8a702ee03cd0f8cba..24e4f8aff879c80c6f1c748b83c73318cb22aa56 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -402,6 +402,8 @@ class CC_EXPORT LayerTreeImpl { |
void RegisterSelection(const LayerSelection& selection); |
+ bool GetAndResetHandleVisibilityChanged(); |
+ |
// Compute the current selection handle location and visbility with respect to |
// the viewport. |
void GetViewportSelection(Selection<gfx::SelectionBound>* selection); |
@@ -537,6 +539,8 @@ class CC_EXPORT LayerTreeImpl { |
bool has_ever_been_drawn_; |
+ bool handle_visibility_changed_; |
+ |
std::vector<std::unique_ptr<SwapPromise>> swap_promise_list_; |
std::vector<std::unique_ptr<SwapPromise>> pinned_swap_promise_list_; |