| 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 | 311 |
| 312 LayoutUnit marginIntrinsicLogicalWidthForChild(LayoutBox& child) const; | 312 LayoutUnit marginIntrinsicLogicalWidthForChild(LayoutBox& child) const; |
| 313 | 313 |
| 314 int beforeMarginInLineDirection(LineDirectionMode) const; | 314 int beforeMarginInLineDirection(LineDirectionMode) const; |
| 315 | 315 |
| 316 void paint(const PaintInfo&, const LayoutPoint&) const override; | 316 void paint(const PaintInfo&, const LayoutPoint&) const override; |
| 317 public: | 317 public: |
| 318 virtual void paintObject(const PaintInfo&, const LayoutPoint&) const; | 318 virtual void paintObject(const PaintInfo&, const LayoutPoint&) const; |
| 319 virtual void paintChildren(const PaintInfo&, const LayoutPoint&) const; | 319 virtual void paintChildren(const PaintInfo&, const LayoutPoint&) const; |
| 320 | 320 |
| 321 // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to Layo
utBlockFlow | 321 // FIXME-BLOCKFLOW: Remove virtualization when all callers have moved to Lay
outBlockFlow |
| 322 virtual void paintFloats(const PaintInfo&, const LayoutPoint&, bool) const {
} | 322 virtual void paintFloats(const PaintInfo&, const LayoutPoint&) const { } |
| 323 virtual void paintSelection(const PaintInfo&, const LayoutPoint&) const { } | 323 virtual void paintSelection(const PaintInfo&, const LayoutPoint&) const { } |
| 324 | 324 |
| 325 protected: | 325 protected: |
| 326 virtual void adjustInlineDirectionLineBounds(unsigned /* expansionOpportunit
yCount */, LayoutUnit& /* logicalLeft */, LayoutUnit& /* logicalWidth */) const
{ } | 326 virtual void adjustInlineDirectionLineBounds(unsigned /* expansionOpportunit
yCount */, LayoutUnit& /* logicalLeft */, LayoutUnit& /* logicalWidth */) const
{ } |
| 327 | 327 |
| 328 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const override; | 328 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const override; |
| 329 void computePreferredLogicalWidths() override; | 329 void computePreferredLogicalWidths() override; |
| 330 void computeChildPreferredLogicalWidths(LayoutObject& child, LayoutUnit& min
PreferredLogicalWidth, LayoutUnit& maxPreferredLogicalWidth) const; | 330 void computeChildPreferredLogicalWidths(LayoutObject& child, LayoutUnit& min
PreferredLogicalWidth, LayoutUnit& maxPreferredLogicalWidth) const; |
| 331 | 331 |
| 332 int firstLineBoxBaseline() const override; | 332 int firstLineBoxBaseline() const override; |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 // FIXME: This is temporary as we move code that accesses block flow | 505 // FIXME: This is temporary as we move code that accesses block flow |
| 506 // member variables out of LayoutBlock and into LayoutBlockFlow. | 506 // member variables out of LayoutBlock and into LayoutBlockFlow. |
| 507 friend class LayoutBlockFlow; | 507 friend class LayoutBlockFlow; |
| 508 }; | 508 }; |
| 509 | 509 |
| 510 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 510 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
| 511 | 511 |
| 512 } // namespace blink | 512 } // namespace blink |
| 513 | 513 |
| 514 #endif // LayoutBlock_h | 514 #endif // LayoutBlock_h |
| OLD | NEW |