diff options
author | mkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 17:06:47 +0000 |
---|---|---|
committer | mkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 17:06:47 +0000 |
commit | 1960a71906faa6a6d8590935a80c774a3ffe58b0 (patch) | |
tree | c14e2bded3de4e297406c01680ebadf559b118f6 /cc/trees/layer_tree_impl.h | |
parent | 011d7c7083ef5523ca07200df849d6d27d959f52 (diff) | |
download | chromium_src-1960a71906faa6a6d8590935a80c774a3ffe58b0.zip chromium_src-1960a71906faa6a6d8590935a80c774a3ffe58b0.tar.gz chromium_src-1960a71906faa6a6d8590935a80c774a3ffe58b0.tar.bz2 |
Make it possible to delegate root layer scroll offset outside of cc.
This change makes it possible for the embedder to own the root layer
scroll offset.
BUG=b/6029133
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197178
R=jamesr@chromium.org
Review URL: https://codereview.chromium.org/13869006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197390 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/layer_tree_impl.h')
-rw-r--r-- | cc/trees/layer_tree_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h index 5ee9c46..4681fc1 100644 --- a/cc/trees/layer_tree_impl.h +++ b/cc/trees/layer_tree_impl.h @@ -197,6 +197,9 @@ class CC_EXPORT LayerTreeImpl { void DidUpdateScroll(); void DidEndScroll(); + void SetRootLayerScrollOffsetDelegate( + LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate); + void SetLatencyInfo(const LatencyInfo& latency_info); const LatencyInfo& GetLatencyInfo(); void ClearLatencyInfo(); @@ -222,6 +225,7 @@ class CC_EXPORT LayerTreeImpl { HeadsUpDisplayLayerImpl* hud_layer_; LayerImpl* root_scroll_layer_; LayerImpl* currently_scrolling_layer_; + LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate_; SkColor background_color_; bool has_transparent_background_; |