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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Remove physical_backing_resized param and other cr feedback Created 3 years, 6 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 dc40268bf5d18466318c848cb4b9c74d942fcadb..95888e93b12b0bdc14b15db6c7e6726b5495fa40 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -262,6 +262,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);
@@ -564,6 +567,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