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

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

Issue 157553002: Remove the Pagination struct, clean up viewport scroll policy propagation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master Created 6 years, 10 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
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index e822620b9d2901c53141f655b292b894d7493c4a..4fa870bdcf8ccd59138f293e85766194fe2c40c7 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -473,7 +473,7 @@ public:
// Special support for editing
PassRefPtr<Text> createEditingTextNode(const String&);
- void setStyleDependentState(RenderStyle* documentStyle);
+ void setupFontBuilder(RenderStyle* documentStyle);
void updateStyleIfNeeded();
void updateStyleForNodeIfNeeded(Node*);
@@ -781,6 +781,12 @@ public:
HTMLHeadElement* head();
+ // Decide which element is to define the viewport's overflow policy. If |rootStyle| is set, use
+ // that as the style for the root element, rather than obtaining it on our own. The reason for
+ // this is that style may not have been associated with the elements yet - in which case it may
+ // have been calculated on the fly (without associating it with the actual element) somewhere.
+ Element* viewportDefiningElement(RenderStyle* rootStyle = 0) const;
+
DocumentMarkerController* markers() const { return m_markers.get(); }
bool directionSetOnDocumentElement() const { return m_directionSetOnDocumentElement; }
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698