| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 virtual void simplifiedNormalFlowLayout(); | 281 virtual void simplifiedNormalFlowLayout(); |
| 282 | 282 |
| 283 public: | 283 public: |
| 284 virtual void computeOverflow(LayoutUnit oldClientAfterEdge); | 284 virtual void computeOverflow(LayoutUnit oldClientAfterEdge); |
| 285 protected: | 285 protected: |
| 286 virtual void addOverflowFromChildren(); | 286 virtual void addOverflowFromChildren(); |
| 287 void addOverflowFromPositionedObjects(); | 287 void addOverflowFromPositionedObjects(); |
| 288 void addOverflowFromBlockChildren(); | 288 void addOverflowFromBlockChildren(); |
| 289 void addVisualOverflowFromTheme(); | 289 void addVisualOverflowFromTheme(); |
| 290 | 290 |
| 291 void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOff
set) const override; | 291 void addOutlineRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffse
t) const override; |
| 292 | 292 |
| 293 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; | 293 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; |
| 294 | 294 |
| 295 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, LayoutBox&
); | 295 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, LayoutBox&
); |
| 296 | 296 |
| 297 bool isInlineBlockOrInlineTable() const final { return isInline() && isRepla
ced(); } | 297 bool isInlineBlockOrInlineTable() const final { return isInline() && isRepla
ced(); } |
| 298 | 298 |
| 299 void invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& childPaintInv
alidationState) override; | 299 void invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& childPaintInv
alidationState) override; |
| 300 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer) const override; | 300 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer) const override; |
| 301 | 301 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 // FIXME: This is temporary as we move code that accesses block flow | 421 // FIXME: This is temporary as we move code that accesses block flow |
| 422 // member variables out of LayoutBlock and into LayoutBlockFlow. | 422 // member variables out of LayoutBlock and into LayoutBlockFlow. |
| 423 friend class LayoutBlockFlow; | 423 friend class LayoutBlockFlow; |
| 424 }; | 424 }; |
| 425 | 425 |
| 426 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); | 426 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |
| 427 | 427 |
| 428 } // namespace blink | 428 } // namespace blink |
| 429 | 429 |
| 430 #endif // LayoutBlock_h | 430 #endif // LayoutBlock_h |
| OLD | NEW |