| 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; | 358 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; |
| 359 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 359 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 360 void updateFromStyle() override; | 360 void updateFromStyle() override; |
| 361 | 361 |
| 362 // Returns true if non-visible overflow should be respected. Otherwise hasOv
erflowClip() will be | 362 // Returns true if non-visible overflow should be respected. Otherwise hasOv
erflowClip() will be |
| 363 // false and we won't create scrollable area for this object even if overflo
w is non-visible. | 363 // false and we won't create scrollable area for this object even if overflo
w is non-visible. |
| 364 virtual bool allowsOverflowClip() const; | 364 virtual bool allowsOverflowClip() const; |
| 365 | 365 |
| 366 virtual bool hasLineIfEmpty() const; | 366 virtual bool hasLineIfEmpty() const; |
| 367 | 367 |
| 368 bool simplifiedLayout(); | 368 bool simplifiedLayout(SubtreeLayoutScope*); |
| 369 virtual void simplifiedNormalFlowLayout(); | 369 virtual void simplifiedNormalFlowLayout(); |
| 370 | 370 |
| 371 public: | 371 public: |
| 372 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); | 372 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); |
| 373 protected: | 373 protected: |
| 374 virtual void addOverflowFromChildren(); | 374 virtual void addOverflowFromChildren(); |
| 375 void addOverflowFromPositionedObjects(); | 375 void addOverflowFromPositionedObjects(); |
| 376 void addOverflowFromBlockChildren(); | 376 void addOverflowFromBlockChildren(); |
| 377 void addVisualOverflowFromTheme(); | 377 void addVisualOverflowFromTheme(); |
| 378 | 378 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 // FIXME: This is temporary as we move code that accesses block flow | 518 // FIXME: This is temporary as we move code that accesses block flow |
| 519 // member variables out of LayoutBlock and into LayoutBlockFlow. | 519 // member variables out of LayoutBlock and into LayoutBlockFlow. |
| 520 friend class LayoutBlockFlow; | 520 friend class LayoutBlockFlow; |
| 521 }; | 521 }; |
| 522 | 522 |
| 523 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 523 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
| 524 | 524 |
| 525 } // namespace blink | 525 } // namespace blink |
| 526 | 526 |
| 527 #endif // LayoutBlock_h | 527 #endif // LayoutBlock_h |
| OLD | NEW |