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

Unified Diff: Source/core/layout/LayoutObject.h

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/layout/LayoutMultiColumnSpannerPlaceholder.cpp ('k') | Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObject.h
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h
index 960f33675e952512f59fae71604702f8f512133c..7a8954008529030312d79889231771e6b67c2499 100644
--- a/Source/core/layout/LayoutObject.h
+++ b/Source/core/layout/LayoutObject.h
@@ -183,14 +183,14 @@ public:
void moveLayers(Layer* oldParent, Layer* newParent);
Layer* findNextLayer(Layer* parentLayer, LayoutObject* startPoint, bool checkParent = true);
- // Scrolling is a RenderBox concept, however some code just cares about recursively scrolling our enclosing ScrollableArea(s).
+ // Scrolling is a LayoutBox concept, however some code just cares about recursively scrolling our enclosing ScrollableArea(s).
bool scrollRectToVisible(const LayoutRect&, const ScrollAlignment& alignX = ScrollAlignment::alignCenterIfNeeded, const ScrollAlignment& alignY = ScrollAlignment::alignCenterIfNeeded);
// Convenience function for getting to the nearest enclosing box of a LayoutObject.
- RenderBox* enclosingBox() const;
+ LayoutBox* enclosingBox() const;
LayoutBoxModelObject* enclosingBoxModelObject() const;
- RenderBox* enclosingScrollableBox() const;
+ LayoutBox* enclosingScrollableBox() const;
// Function to return our enclosing flow thread if we are contained inside one. This
// function follows the containing block chain.
@@ -389,7 +389,7 @@ public:
virtual bool isLayoutPart() const { return false; }
bool isDocumentElement() const { return document().documentElement() == m_node; }
- // isBody is called from RenderBox::styleWillChange and is thus quite hot.
+ // isBody is called from LayoutBox::styleWillChange and is thus quite hot.
bool isBody() const { return node() && node()->hasTagName(HTMLNames::bodyTag); }
bool isHR() const;
bool isLegend() const;
« no previous file with comments | « Source/core/layout/LayoutMultiColumnSpannerPlaceholder.cpp ('k') | Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698