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

Unified Diff: cc/top_controls_manager_client.h

Issue 12025031: Find root scroll layer at tree activation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/top_controls_manager_client.h
diff --git a/cc/top_controls_manager_client.h b/cc/top_controls_manager_client.h
index f5a34f399f8727494248dbdac90e87934ca1b43e..eb216f5cf01e8c2690c7ccbe01bcb9891e1e6b56 100644
--- a/cc/top_controls_manager_client.h
+++ b/cc/top_controls_manager_client.h
@@ -13,7 +13,8 @@ class CC_EXPORT TopControlsManagerClient {
public:
virtual void setNeedsRedraw() = 0;
virtual void setNeedsUpdateDrawProperties() = 0;
- virtual LayerTreeImpl* activeTree() = 0;
+ virtual bool haveRootScrollLayer() const = 0;
+ virtual float rootScrollLayerTotalScrollY() const = 0;
protected:
virtual ~TopControlsManagerClient() {}

Powered by Google App Engine
This is Rietveld 408576698