summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_impl.h
diff options
context:
space:
mode:
authoraelias <aelias@chromium.org>2015-01-31 05:44:49 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-31 13:45:47 +0000
commitd0070ba1ca9f06ad5d52272c7da3827f38b1ddf0 (patch)
tree1c5dfba19910dd99f74f07bf935b0ba36e093937 /cc/trees/layer_tree_impl.h
parentc313f474933df016da94fbeb0892152a0d8e5b0f (diff)
downloadchromium_src-d0070ba1ca9f06ad5d52272c7da3827f38b1ddf0.zip
chromium_src-d0070ba1ca9f06ad5d52272c7da3827f38b1ddf0.tar.gz
chromium_src-d0070ba1ca9f06ad5d52272c7da3827f38b1ddf0.tar.bz2
Convert scroll offsets to use SyncedProperty.
This contains the logic used to synchronize scroll deltas between the main, pending and active tree into the generic SyncedProperty class. Each LayerImpl has a refptr to one, which is shared between the pending and active version of that layer. This removes the need for the logic to backsync deltas to the pending tree, reduces code duplication with analogous properties like page scale factor, and clarifies the principles behind CC's synchronization approach. This should be a no-op change. BUG= Review URL: https://codereview.chromium.org/800613009 Cr-Commit-Position: refs/heads/master@{#314053}
Diffstat (limited to 'cc/trees/layer_tree_impl.h')
-rw-r--r--cc/trees/layer_tree_impl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 3ad278b..160a965 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -135,7 +135,6 @@ class CC_EXPORT LayerTreeImpl {
LayerImpl* OuterViewportScrollLayer() const;
gfx::ScrollOffset TotalScrollOffset() const;
gfx::ScrollOffset TotalMaxScrollOffset() const;
- gfx::Vector2dF TotalScrollDelta() const;
LayerImpl* InnerViewportContainerLayer() const;
LayerImpl* OuterViewportContainerLayer() const;
@@ -153,7 +152,6 @@ class CC_EXPORT LayerTreeImpl {
}
LayerImpl* page_scale_layer() { return page_scale_layer_; }
void ApplySentScrollAndScaleDeltasFromAbortedCommit();
- void ApplyScrollDeltasSinceBeginMainFrame();
SkColor background_color() const { return background_color_; }
void set_background_color(SkColor color) { background_color_ = color; }