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

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

Issue 1970763002: Fixed up root scroller API to be more webby (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 9d02504f37de9338f5d27c8c6af0be186c6468a4..5e7a4c1fd25681f007b8cc658e6a25d9accb9ab9 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -126,6 +126,7 @@ class IdleRequestOptions;
class InputDeviceCapabilities;
class IntersectionObserverController;
class LayoutPoint;
+class LayoutView;
class LayoutViewItem;
class LiveNodeListBase;
class Locale;
@@ -144,8 +145,8 @@ class PlatformMouseEvent;
class ProcessingInstruction;
class QualifiedName;
class Range;
-class LayoutView;
class ResourceFetcher;
+class RootScroller;
class SVGDocumentExtensions;
class SVGUseElement;
class ScriptRunner;
@@ -1064,8 +1065,9 @@ public:
ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; }
void setShadowCascadeOrder(ShadowCascadeOrder);
+ Element* rootScroller() const;
void setRootScroller(Element*, ExceptionState&);
- Element* rootScroller();
+ bool isEffectiveRootScroller(const Element*) const;
bool isInMainFrame() const;
@@ -1220,6 +1222,7 @@ private:
Member<Element> m_activeHoverElement;
Member<Element> m_documentElement;
UserActionElementSet m_userActionElements;
+ Member<RootScroller> m_rootScroller;
uint64_t m_domTreeVersion;
static uint64_t s_globalTreeVersion;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | third_party/WebKit/Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698