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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h

Issue 2732363003: Make TopDocumentRootScrollerController store Page instead of FrameHost (Closed)
Patch Set: Rebase Created 3 years, 9 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: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
index 58cc5e76d27aec242552e9c05f23a88df192714e..cf5917f743ae4bfce734db0a997115746a376664 100644
--- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
+++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
@@ -13,7 +13,7 @@
namespace blink {
class Element;
-class FrameHost;
+class Page;
class GraphicsLayer;
class PaintLayer;
class RootFrameViewport;
@@ -30,7 +30,7 @@ class ViewportScrollCallback;
class CORE_EXPORT TopDocumentRootScrollerController
: public GarbageCollected<TopDocumentRootScrollerController> {
public:
- static TopDocumentRootScrollerController* create(FrameHost&);
+ static TopDocumentRootScrollerController* create(Page&);
DECLARE_TRACE();
@@ -78,7 +78,7 @@ class CORE_EXPORT TopDocumentRootScrollerController
IntSize rootScrollerVisibleArea() const;
private:
- TopDocumentRootScrollerController(FrameHost&);
+ TopDocumentRootScrollerController(Page&);
// Calculates the Element that should be the globalRootScroller. On a
// simple page, this will simply the root frame's effectiveRootScroller but
@@ -106,7 +106,7 @@ class CORE_EXPORT TopDocumentRootScrollerController
// Element.
WeakMember<Element> m_globalRootScroller;
- WeakMember<FrameHost> m_frameHost;
+ WeakMember<Page> m_page;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698