| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |