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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Evict frame instead of showing a black frame 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_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index ccff3c2447bfcb393ab6ae4e38a813d4c3dec2b4..cc2d8413136e623a5e3e82cb22124c8657a1b31d 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -252,6 +252,9 @@ class CC_EXPORT LayerTreeImpl {
has_transparent_background_ = transparent;
}
+ bool is_fullscreen() const { return is_fullscreen_; }
+ void set_is_fullscreen(bool is_fullscreen) { is_fullscreen_ = is_fullscreen; }
+
void UpdatePropertyTreeScrollingAndAnimationFromMainThread(
bool is_impl_side_update);
void SetPageScaleOnActiveTree(float active_page_scale);
@@ -538,6 +541,7 @@ class CC_EXPORT LayerTreeImpl {
PropertyTrees property_trees_;
SkColor background_color_;
bool has_transparent_background_;
+ bool is_fullscreen_;
int last_scrolled_scroll_node_index_;

Powered by Google App Engine
This is Rietveld 408576698