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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 LayoutRect visualOverflowRectForPropagation(RenderStyle*) const; | 426 LayoutRect visualOverflowRectForPropagation(RenderStyle*) const; |
427 LayoutRect logicalLayoutOverflowRectForPropagation(RenderStyle*) const; | 427 LayoutRect logicalLayoutOverflowRectForPropagation(RenderStyle*) const; |
428 LayoutRect layoutOverflowRectForPropagation(RenderStyle*) const; | 428 LayoutRect layoutOverflowRectForPropagation(RenderStyle*) const; |
429 | 429 |
430 RenderOverflow* hasRenderOverflow() const { return m_overflow.get(); } | 430 RenderOverflow* hasRenderOverflow() const { return m_overflow.get(); } |
431 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta
ins(m_overflow->visualOverflowRect()); } | 431 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta
ins(m_overflow->visualOverflowRect()); } |
432 | 432 |
433 virtual bool needsPreferredWidthsRecalculation() const; | 433 virtual bool needsPreferredWidthsRecalculation() const; |
434 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */
, double& /* intrinsicRatio */, bool& /* isPercentageIntrinsicSize */) const { } | 434 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */
, double& /* intrinsicRatio */, bool& /* isPercentageIntrinsicSize */) const { } |
435 | 435 |
| 436 virtual bool hasRelativeDimensions() const; |
| 437 |
436 protected: | 438 protected: |
437 virtual void willBeDestroyed(); | 439 virtual void willBeDestroyed(); |
438 | 440 |
439 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); | 441 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); |
440 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 442 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
441 virtual void updateBoxModelInfoFromStyle(); | 443 virtual void updateBoxModelInfoFromStyle(); |
442 | 444 |
443 virtual bool backgroundIsObscured() const { return false; } | 445 virtual bool backgroundIsObscured() const { return false; } |
444 void paintBackground(const PaintInfo&, const LayoutRect&, BackgroundBleedAvo
idance = BackgroundBleedNone); | 446 void paintBackground(const PaintInfo&, const LayoutRect&, BackgroundBleedAvo
idance = BackgroundBleedNone); |
445 | 447 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 } | 559 } |
558 | 560 |
559 inline RenderBox* RenderBox::lastChildBox() const | 561 inline RenderBox* RenderBox::lastChildBox() const |
560 { | 562 { |
561 return toRenderBox(lastChild()); | 563 return toRenderBox(lastChild()); |
562 } | 564 } |
563 | 565 |
564 } // namespace WebCore | 566 } // namespace WebCore |
565 | 567 |
566 #endif // RenderBox_h | 568 #endif // RenderBox_h |
OLD | NEW |