OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 #if ENABLE(ASSERT) | 269 #if ENABLE(ASSERT) |
270 void checkPositionedObjectsNeedLayout(); | 270 void checkPositionedObjectsNeedLayout(); |
271 #endif | 271 #endif |
272 #ifndef NDEBUG | 272 #ifndef NDEBUG |
273 void showLineTreeAndMark(const InlineBox* = nullptr, const char* = nullptr,
const InlineBox* = nullptr, const char* = nullptr, const LayoutObject* = nullptr
) const; | 273 void showLineTreeAndMark(const InlineBox* = nullptr, const char* = nullptr,
const InlineBox* = nullptr, const char* = nullptr, const LayoutObject* = nullptr
) const; |
274 #endif | 274 #endif |
275 | 275 |
276 bool recalcChildOverflowAfterStyleChange(); | 276 bool recalcChildOverflowAfterStyleChange(); |
277 bool recalcOverflowAfterStyleChange(); | 277 bool recalcOverflowAfterStyleChange(); |
278 | 278 |
| 279 void invalidateDisplayItemClientsOfFirstLine(); |
| 280 |
279 protected: | 281 protected: |
280 void willBeDestroyed() override; | 282 void willBeDestroyed() override; |
281 | 283 |
282 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); | 284 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); |
283 | 285 |
284 void layout() override; | 286 void layout() override; |
285 | 287 |
286 enum PositionedLayoutBehavior { | 288 enum PositionedLayoutBehavior { |
287 DefaultLayout, | 289 DefaultLayout, |
288 LayoutOnlyFixedPositionedObjects, | 290 LayoutOnlyFixedPositionedObjects, |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 // FIXME: This is temporary as we move code that accesses block flow | 491 // FIXME: This is temporary as we move code that accesses block flow |
490 // member variables out of LayoutBlock and into LayoutBlockFlow. | 492 // member variables out of LayoutBlock and into LayoutBlockFlow. |
491 friend class LayoutBlockFlow; | 493 friend class LayoutBlockFlow; |
492 }; | 494 }; |
493 | 495 |
494 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 496 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
495 | 497 |
496 } // namespace blink | 498 } // namespace blink |
497 | 499 |
498 #endif // LayoutBlock_h | 500 #endif // LayoutBlock_h |
OLD | NEW |