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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try running even rebaseline tests Created 4 years, 2 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/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index ccbd9e7393ee42373e8fea65dfebf6b39727e481..1997bcfe07b07943dbd4db9e838657825d9a99f3 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -230,6 +230,7 @@ class CC_EXPORT LayerTreeHostImpl
LayerImplList will_draw_layers;
bool has_no_damage;
bool may_contain_video;
+ bool handle_visibility_changed;
// RenderPassSink implementation.
void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override;
@@ -378,6 +379,7 @@ class CC_EXPORT LayerTreeHostImpl
// Called from LayerTreeImpl.
void OnCanDrawStateChangedForTree();
+ void HandleVisibilityChanged() { handle_visibility_changed_ = true; }
// Implementation.
int id() const { return id_; }
@@ -826,6 +828,7 @@ class CC_EXPORT LayerTreeHostImpl
bool requires_high_res_to_draw_;
bool is_likely_to_require_a_draw_;
+ bool handle_visibility_changed_;
// TODO(danakj): Delete the compositor frame sink and all resources when
// it's lost instead of having this bool.

Powered by Google App Engine
This is Rietveld 408576698