| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 bool isInlineBlockOrInlineTable() const final { return isInline() && isAtomi
cInlineLevel(); } | 377 bool isInlineBlockOrInlineTable() const final { return isInline() && isAtomi
cInlineLevel(); } |
| 378 | 378 |
| 379 private: | 379 private: |
| 380 LayoutObjectChildList* virtualChildren() final { return children(); } | 380 LayoutObjectChildList* virtualChildren() final { return children(); } |
| 381 const LayoutObjectChildList* virtualChildren() const final { return children
(); } | 381 const LayoutObjectChildList* virtualChildren() const final { return children
(); } |
| 382 | 382 |
| 383 bool isLayoutBlock() const final { return true; } | 383 bool isLayoutBlock() const final { return true; } |
| 384 | 384 |
| 385 virtual void removeLeftoverAnonymousBlock(LayoutBlock* child); | 385 virtual void removeLeftoverAnonymousBlock(LayoutBlock* child); |
| 386 | 386 |
| 387 void dirtyLinesFromChangedChild(LayoutObject* child) final { m_lineBoxes.dir
tyLinesFromChangedChild(LineLayoutItem(this), LineLayoutItem(child)); } | |
| 388 | |
| 389 TrackedLayoutBoxListHashSet* positionedObjectsInternal() const; | 387 TrackedLayoutBoxListHashSet* positionedObjectsInternal() const; |
| 390 TrackedLayoutBoxListHashSet* percentHeightDescendantsInternal() const; | 388 TrackedLayoutBoxListHashSet* percentHeightDescendantsInternal() const; |
| 391 | 389 |
| 392 // Returns true if the positioned movement-only layout succeeded. | 390 // Returns true if the positioned movement-only layout succeeded. |
| 393 bool tryLayoutDoingPositionedMovementOnly(); | 391 bool tryLayoutDoingPositionedMovementOnly(); |
| 394 | 392 |
| 395 bool avoidsFloats() const override { return true; } | 393 bool avoidsFloats() const override { return true; } |
| 396 | 394 |
| 397 bool isInSelfHitTestingPhase(HitTestAction hitTestAction) const final | 395 bool isInSelfHitTestingPhase(HitTestAction hitTestAction) const final |
| 398 { | 396 { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 // FIXME: This is temporary as we move code that accesses block flow | 464 // FIXME: This is temporary as we move code that accesses block flow |
| 467 // member variables out of LayoutBlock and into LayoutBlockFlow. | 465 // member variables out of LayoutBlock and into LayoutBlockFlow. |
| 468 friend class LayoutBlockFlow; | 466 friend class LayoutBlockFlow; |
| 469 }; | 467 }; |
| 470 | 468 |
| 471 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 469 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
| 472 | 470 |
| 473 } // namespace blink | 471 } // namespace blink |
| 474 | 472 |
| 475 #endif // LayoutBlock_h | 473 #endif // LayoutBlock_h |
| OLD | NEW |