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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2128553002: Make rootScroller the layout viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@viewportScrollCallbackInterface
Patch Set: Rebase + comment fix in test Created 4 years, 5 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/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 048bb13e2023cefcb279a519f7f53ff101663361..e0bc02501209a4c821a6e1888d8d31a3a77a1966 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -167,6 +167,7 @@ class Touch;
class TouchList;
class TransformSource;
class TreeWalker;
+class ViewportScrollCallback;
class VisitedLinkState;
class VisualViewport;
class WebGLRenderingContext;
@@ -1083,6 +1084,7 @@ public:
bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCascadeOrder::ShadowCascadeV1; }
+ void initializeRootScroller(ViewportScrollCallback*);
Element* rootScroller() const;
void setRootScroller(Element*, ExceptionState&);
const Element* effectiveRootScroller() const;
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/scrolling/set-root-scroller.html ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698