| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta
ins(m_overflow->visualOverflowRect()); } | 478 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta
ins(m_overflow->visualOverflowRect()); } |
| 479 | 479 |
| 480 virtual bool needsPreferredWidthsRecalculation() const; | 480 virtual bool needsPreferredWidthsRecalculation() const; |
| 481 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */
, double& /* intrinsicRatio */) const { } | 481 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */
, double& /* intrinsicRatio */) const { } |
| 482 | 482 |
| 483 IntSize scrolledContentOffset() const; | 483 IntSize scrolledContentOffset() const; |
| 484 void applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRec
t) const; | 484 void applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRec
t) const; |
| 485 | 485 |
| 486 virtual bool hasRelativeLogicalHeight() const; | 486 virtual bool hasRelativeLogicalHeight() const; |
| 487 | 487 |
| 488 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject*) con
st | |
| 489 { | |
| 490 ASSERT_NOT_REACHED(); | |
| 491 return 0; | |
| 492 } | |
| 493 | |
| 494 bool hasSameDirectionAs(const RenderBox* object) const { return style()->dir
ection() == object->style()->direction(); } | 488 bool hasSameDirectionAs(const RenderBox* object) const { return style()->dir
ection() == object->style()->direction(); } |
| 495 | 489 |
| 496 protected: | 490 protected: |
| 497 virtual void willBeDestroyed() override; | 491 virtual void willBeDestroyed() override; |
| 498 | 492 |
| 499 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) o
verride; | 493 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) o
verride; |
| 500 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; | 494 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; |
| 501 virtual void updateFromStyle() override; | 495 virtual void updateFromStyle() override; |
| 502 | 496 |
| 503 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. | 497 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 if (UNLIKELY(inlineBoxWrapper() != 0)) | 658 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 665 deleteLineBoxWrapper(); | 659 deleteLineBoxWrapper(); |
| 666 } | 660 } |
| 667 | 661 |
| 668 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 662 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 669 } | 663 } |
| 670 | 664 |
| 671 } // namespace blink | 665 } // namespace blink |
| 672 | 666 |
| 673 #endif // RenderBox_h | 667 #endif // RenderBox_h |
| OLD | NEW |