| 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. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. |
| 6 * All rights reserved. | 6 * All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 | 354 |
| 355 enum PositionedLayoutBehavior { | 355 enum PositionedLayoutBehavior { |
| 356 DefaultLayout, | 356 DefaultLayout, |
| 357 LayoutOnlyFixedPositionedObjects, | 357 LayoutOnlyFixedPositionedObjects, |
| 358 ForcedLayoutAfterContainingBlockMoved | 358 ForcedLayoutAfterContainingBlockMoved |
| 359 }; | 359 }; |
| 360 | 360 |
| 361 virtual void layoutPositionedObjects( | 361 virtual void layoutPositionedObjects( |
| 362 bool relayoutChildren, | 362 bool relayoutChildren, |
| 363 PositionedLayoutBehavior = DefaultLayout); | 363 PositionedLayoutBehavior = DefaultLayout); |
| 364 void layoutPositionedObject(LayoutBox*, |
| 365 bool relayoutChildren, |
| 366 PositionedLayoutBehavior info); |
| 364 void markFixedPositionObjectForLayoutIfNeeded(LayoutObject* child, | 367 void markFixedPositionObjectForLayoutIfNeeded(LayoutObject* child, |
| 365 SubtreeLayoutScope&); | 368 SubtreeLayoutScope&); |
| 366 | 369 |
| 367 LayoutUnit marginIntrinsicLogicalWidthForChild(const LayoutBox& child) const; | 370 LayoutUnit marginIntrinsicLogicalWidthForChild(const LayoutBox& child) const; |
| 368 | 371 |
| 369 int beforeMarginInLineDirection(LineDirectionMode) const; | 372 int beforeMarginInLineDirection(LineDirectionMode) const; |
| 370 | 373 |
| 371 void paint(const PaintInfo&, const LayoutPoint&) const override; | 374 void paint(const PaintInfo&, const LayoutPoint&) const override; |
| 372 | 375 |
| 373 public: | 376 public: |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 // TODO(lunalu): Temporary in order to ensure compatibility with existing | 569 // TODO(lunalu): Temporary in order to ensure compatibility with existing |
| 567 // layout test results. | 570 // layout test results. |
| 568 virtual void adjustChildDebugRect(LayoutRect&) const {} | 571 virtual void adjustChildDebugRect(LayoutRect&) const {} |
| 569 }; | 572 }; |
| 570 | 573 |
| 571 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 574 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
| 572 | 575 |
| 573 } // namespace blink | 576 } // namespace blink |
| 574 | 577 |
| 575 #endif // LayoutBlock_h | 578 #endif // LayoutBlock_h |
| OLD | NEW |