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

Unified Diff: Source/core/layout/api/LineLayoutItem.h

Issue 1303303002: [Line Layout API] Convert most of InlineBoxPainter to new API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nits Created 5 years, 4 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/api/LineLayoutBoxModel.h ('k') | Source/core/paint/InlineFlowBoxPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/api/LineLayoutItem.h
diff --git a/Source/core/layout/api/LineLayoutItem.h b/Source/core/layout/api/LineLayoutItem.h
index e443ab316aeba3e7b8c576d06aa466b15060a3d0..68771eecb0ee19641320a26212476cdaba8785ab 100644
--- a/Source/core/layout/api/LineLayoutItem.h
+++ b/Source/core/layout/api/LineLayoutItem.h
@@ -18,6 +18,7 @@ class HitTestRequest;
class HitTestLocation;
class LayoutObject;
class LineLayoutBox;
+class LineLayoutBoxModel;
enum HitTestFilter;
@@ -61,10 +62,15 @@ public:
}
// Implemented in LineLayoutBox.h
- // Intentionally returns a Box instead of a Block to avoid exposing LayoutBlock
+ // Intentionally returns a LineLayoutBox to avoid exposing LayoutBlock
// to the line layout code.
LineLayoutBox containingBlock() const;
+ // Implemented in LineLayoutBoxModel.h
+ // Intentionally returns a LineLayoutBoxModel to avoid exposing LayoutBoxModelObject
+ // to the line layout code.
+ LineLayoutBoxModel enclosingBoxModelObject() const;
+
LineLayoutItem container() const
{
return LineLayoutItem(m_layoutObject->container());
« no previous file with comments | « Source/core/layout/api/LineLayoutBoxModel.h ('k') | Source/core/paint/InlineFlowBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698