Chromium Code Reviews| 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()); |