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

Unified Diff: cc/trees/layer_tree.h

Issue 2445093002: cc/blimp: Add synchronization for scroll/scale state. (Closed)
Patch Set: test compile 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
« no previous file with comments | « cc/test/layer_tree_host_remote_for_testing.cc ('k') | cc/trees/layer_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree.h
diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h
index 5e433c2e3639a89668ec31e875e679a3f41140a8..08bb31b3811c0dc6b194e44cd18626af0e04c01c 100644
--- a/cc/trees/layer_tree.h
+++ b/cc/trees/layer_tree.h
@@ -102,6 +102,8 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
float min_page_scale_factor,
float max_page_scale_factor);
float page_scale_factor() const { return inputs_.page_scale_factor; }
+ float min_page_scale_factor() const { return inputs_.min_page_scale_factor; }
+ float max_page_scale_factor() const { return inputs_.max_page_scale_factor; }
void set_background_color(SkColor color) { inputs_.background_color = color; }
SkColor background_color() const { return inputs_.background_color; }
@@ -181,7 +183,8 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
void SetPropertyTreesNeedRebuild();
- void PushPropertiesTo(LayerTreeImpl* tree_impl);
+ void PushPropertiesTo(LayerTreeImpl* tree_impl,
+ float unapplied_page_scale_delta);
void ToProtobuf(proto::LayerTree* proto, bool inputs_only);
void FromProtobuf(const proto::LayerTree& proto);
« no previous file with comments | « cc/test/layer_tree_host_remote_for_testing.cc ('k') | cc/trees/layer_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698