| 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 | 383 |
| 384 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; | 384 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; |
| 385 | 385 |
| 386 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 386 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
| 387 | 387 |
| 388 bool updateRegionsAndShapesLogicalSize(RenderFlowThread*); | 388 bool updateRegionsAndShapesLogicalSize(RenderFlowThread*); |
| 389 void computeRegionRangeForBlock(RenderFlowThread*); | 389 void computeRegionRangeForBlock(RenderFlowThread*); |
| 390 | 390 |
| 391 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox*
); | 391 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox*
); |
| 392 | 392 |
| 393 virtual void checkForPaginationLogicalHeightChange(LayoutUnit& pageLogicalHe
ight, bool& pageLogicalHeightChanged, bool& hasSpecifiedPageLogicalHeight); | |
| 394 | |
| 395 virtual bool isInlineBlockOrInlineTable() const OVERRIDE FINAL { return isIn
line() && isReplaced(); } | 393 virtual bool isInlineBlockOrInlineTable() const OVERRIDE FINAL { return isIn
line() && isReplaced(); } |
| 396 | 394 |
| 397 private: | 395 private: |
| 398 void computeShapeSize(); | 396 void computeShapeSize(); |
| 399 void updateRegionsAndShapesAfterChildLayout(RenderFlowThread*, bool); | 397 void updateRegionsAndShapesAfterChildLayout(RenderFlowThread*, bool); |
| 400 void updateShapeInsideInfoAfterStyleChange(const ShapeValue*, const ShapeVal
ue* oldShape); | 398 void updateShapeInsideInfoAfterStyleChange(const ShapeValue*, const ShapeVal
ue* oldShape); |
| 401 void relayoutShapeDescendantIfMoved(RenderBlock* child, LayoutSize offset); | 399 void relayoutShapeDescendantIfMoved(RenderBlock* child, LayoutSize offset); |
| 402 | 400 |
| 403 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi
ldren(); } | 401 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi
ldren(); } |
| 404 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL
{ return children(); } | 402 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL
{ return children(); } |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 return false; | 636 return false; |
| 639 } | 637 } |
| 640 return true; | 638 return true; |
| 641 } | 639 } |
| 642 | 640 |
| 643 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 641 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
| 644 | 642 |
| 645 } // namespace WebCore | 643 } // namespace WebCore |
| 646 | 644 |
| 647 #endif // RenderBlock_h | 645 #endif // RenderBlock_h |
| OLD | NEW |