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

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: 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..9c3acdc0e6a2692c32e38c068ebfe6a155133932 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;
@@ -65,6 +66,11 @@ public:
// to the line layout code.
LineLayoutBox containingBlock() const;
+ // Implemented in LineLayoutBoxModel.h
+ // Intentionally returns a BoxModel to avoid exposing LayoutBoxModelObject
leviw_travelin_and_unemployed 2015/08/21 18:37:14 Intentionally returns LineLayoutBoxModel
+ // 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