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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed ESTABLISHED/DISSOLVED Created 4 years, 1 month 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/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 51ee4fdaaec70921e80f1a4ae0ca38037477eb1c..05fc300b25d6d24abd31b329406e07bb17410f37 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -407,6 +407,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);
@@ -542,6 +544,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_;

Powered by Google App Engine
This is Rietveld 408576698