| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; | 337 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; |
| 338 | 338 |
| 339 virtual bool hasLineIfEmpty() const; | 339 virtual bool hasLineIfEmpty() const; |
| 340 | 340 |
| 341 bool simplifiedLayout(); | 341 bool simplifiedLayout(); |
| 342 virtual void simplifiedNormalFlowLayout(); | 342 virtual void simplifiedNormalFlowLayout(); |
| 343 | 343 |
| 344 void setDesiredColumnCountAndWidth(int, LayoutUnit); | 344 void setDesiredColumnCountAndWidth(int, LayoutUnit); |
| 345 | 345 |
| 346 public: | 346 public: |
| 347 void updateOverflowForTransform(); |
| 347 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); | 348 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); |
| 348 protected: | 349 protected: |
| 349 virtual void addOverflowFromChildren(); | 350 virtual void addOverflowFromChildren(); |
| 350 void addOverflowFromPositionedObjects(); | 351 void addOverflowFromPositionedObjects(); |
| 351 void addOverflowFromBlockChildren(); | 352 void addOverflowFromBlockChildren(); |
| 352 void addVisualOverflowFromTheme(); | 353 void addVisualOverflowFromTheme(); |
| 353 | 354 |
| 354 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; | 355 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; |
| 355 | 356 |
| 356 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 357 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 return false; | 585 return false; |
| 585 } | 586 } |
| 586 return true; | 587 return true; |
| 587 } | 588 } |
| 588 | 589 |
| 589 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 590 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
| 590 | 591 |
| 591 } // namespace WebCore | 592 } // namespace WebCore |
| 592 | 593 |
| 593 #endif // RenderBlock_h | 594 #endif // RenderBlock_h |
| OLD | NEW |