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

Side by Side Diff: Source/core/layout/api/LineLayoutItem.h

Issue 1294483002: [Line Layout API] Convert InlineBox::boxModelObject 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/api/LineLayoutBoxModel.h ('k') | Source/core/layout/line/InlineBox.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LineLayoutItem_h 5 #ifndef LineLayoutItem_h
6 #define LineLayoutItem_h 6 #define LineLayoutItem_h
7 7
8 #include "core/layout/LayoutObject.h" 8 #include "core/layout/LayoutObject.h"
9 #include "core/layout/LayoutObjectInlines.h" 9 #include "core/layout/LayoutObjectInlines.h"
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 bool isImage() const 183 bool isImage() const
184 { 184 {
185 return m_layoutObject->isImage(); 185 return m_layoutObject->isImage();
186 } 186 }
187 187
188 bool isInline() const 188 bool isInline() const
189 { 189 {
190 return m_layoutObject->isInline(); 190 return m_layoutObject->isInline();
191 } 191 }
192 192
193 bool isInlineBlockOrInlineTable() const
194 {
195 return m_layoutObject->isInlineBlockOrInlineTable();
196 }
197
193 bool isLayoutBlock() const 198 bool isLayoutBlock() const
194 { 199 {
195 return m_layoutObject->isLayoutBlock(); 200 return m_layoutObject->isLayoutBlock();
196 } 201 }
197 202
198 bool isLayoutBlockFlow() const 203 bool isLayoutBlockFlow() const
199 { 204 {
200 return m_layoutObject->isLayoutBlockFlow(); 205 return m_layoutObject->isLayoutBlockFlow();
201 } 206 }
202 207
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 LayoutObject* layoutObject() { return m_layoutObject; } 310 LayoutObject* layoutObject() { return m_layoutObject; }
306 const LayoutObject* layoutObject() const { return m_layoutObject; } 311 const LayoutObject* layoutObject() const { return m_layoutObject; }
307 312
308 private: 313 private:
309 LayoutObject* m_layoutObject; 314 LayoutObject* m_layoutObject;
310 }; 315 };
311 316
312 } // namespace blink 317 } // namespace blink
313 318
314 #endif // LineLayoutItem_h 319 #endif // LineLayoutItem_h
OLDNEW
« no previous file with comments | « Source/core/layout/api/LineLayoutBoxModel.h ('k') | Source/core/layout/line/InlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698