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

Unified Diff: cc/layer_tree_impl.h

Issue 12045002: Delete zoomed_viewport_offset_ and its users. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Bring back implPinch test and fix clip layer with root scroll offset 0 Created 7 years, 11 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/layer_tree_impl.h
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h
index 31d5a67e8a9d27010ff93592585ae390221ad5e4..c1266b6a45f3c58f39ccb5dccef085fe581113ea 100644
--- a/cc/layer_tree_impl.h
+++ b/cc/layer_tree_impl.h
@@ -133,7 +133,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);

Powered by Google App Engine
This is Rietveld 408576698