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

Unified Diff: third_party/WebKit/Source/core/frame/FrameHost.h

Issue 1913843004: Implementing document.setRootScroller API for main thread scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@overscrollController
Patch Set: Fixing bad rebase Created 4 years, 8 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/frame/FrameHost.h
diff --git a/third_party/WebKit/Source/core/frame/FrameHost.h b/third_party/WebKit/Source/core/frame/FrameHost.h
index 8b909f23bd6bd4f772021ff2505edf2044f956bc..060e05685a81b0a709f44e133b19029c4073200f 100644
--- a/third_party/WebKit/Source/core/frame/FrameHost.h
+++ b/third_party/WebKit/Source/core/frame/FrameHost.h
@@ -49,6 +49,7 @@ class OverscrollController;
class Page;
struct PageScaleConstraints;
class PageScaleConstraintsSet;
+class RootScroller;
class Settings;
class TopControls;
class UseCounter;
@@ -91,6 +92,9 @@ public:
// This value does not account for Page zoom, use LocalFrame::devicePixelRatio instead.
float deviceScaleFactor() const;
+ RootScroller* rootScroller();
+ const RootScroller* rootScroller() const;
+
TopControls& topControls();
const TopControls& topControls() const;
@@ -130,6 +134,7 @@ private:
explicit FrameHost(Page&);
const Member<Page> m_page;
+ const Member<RootScroller> m_rootScroller;
const Member<TopControls> m_topControls;
const OwnPtr<PageScaleConstraintsSet> m_pageScaleConstraintsSet;
const Member<VisualViewport> m_visualViewport;

Powered by Google App Engine
This is Rietveld 408576698