summaryrefslogtreecommitdiffstats
path: root/cc/layer_tree_impl.h
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 23:47:24 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 23:47:24 +0000
commit257abfa88bc09c0cb2c95efdb6777d7d40bfe8f2 (patch)
tree85dbc8e2b027baa6305fa4bae17ce15c8803e245 /cc/layer_tree_impl.h
parentda2bfa49bd7721d552a8623fe826b438d2411ad8 (diff)
downloadchromium_src-257abfa88bc09c0cb2c95efdb6777d7d40bfe8f2.zip
chromium_src-257abfa88bc09c0cb2c95efdb6777d7d40bfe8f2.tar.gz
chromium_src-257abfa88bc09c0cb2c95efdb6777d7d40bfe8f2.tar.bz2
Delete zoomed_viewport_offset_ and its users.
After http://webk.it/107424 lands, there is no longer any need to conceal the true scroll offset from WebKit. We can use the normal root layer scroll offset for almost everything and avoid needing to apply this extra transformation. NOTRY=true BUG=171183 Review URL: https://chromiumcodereview.appspot.com/12045002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_tree_impl.h')
-rw-r--r--cc/layer_tree_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h
index 1adade2..b2abec87 100644
--- a/cc/layer_tree_impl.h
+++ b/cc/layer_tree_impl.h
@@ -134,7 +134,10 @@ class CC_EXPORT LayerTreeImpl {
const LayerList& RenderSurfaceLayerList() const;
+ // These return the size of the root scrollable area and the size of
+ // the user-visible scrolling viewport, in CSS layout coordinates.
gfx::Size ScrollableSize() const;
+ gfx::SizeF ScrollableViewportSize() const;
LayerImpl* LayerById(int id);