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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Build error fixes Created 3 years, 7 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 b8553cb323b236fa95fc6b52fd866c976b5e94a9..a7257f8dfd177af60aa9f6aef4153c6495a65994 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -451,6 +451,8 @@ class CC_EXPORT LayerTreeHostImpl
virtual void SetVisible(bool visible);
bool visible() const { return visible_; }
+ virtual void SetIsFullscreen(bool is_fullscreen);
+
void SetNeedsCommit() { client_->SetNeedsCommitOnImplThread(); }
void SetNeedsOneBeginImplFrame();
void SetNeedsRedraw();
@@ -782,6 +784,7 @@ class CC_EXPORT LayerTreeHostImpl
const LayerTreeSettings settings_;
LayerTreeDebugState debug_state_;
bool visible_;
+ bool is_fullscreen_ = false;
ManagedMemoryPolicy cached_managed_memory_policy_;
const bool is_synchronous_single_threaded_;

Powered by Google App Engine
This is Rietveld 408576698