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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 virtual InlineBox* createInlineBox(); | 400 virtual InlineBox* createInlineBox(); |
401 void dirtyLineBoxes(bool fullLayout); | 401 void dirtyLineBoxes(bool fullLayout); |
402 | 402 |
403 // For inline replaced elements, this function returns the inline box that o
wns us. Enables | 403 // For inline replaced elements, this function returns the inline box that o
wns us. Enables |
404 // the replaced RenderObject to quickly determine what line it is contained
on and to easily | 404 // the replaced RenderObject to quickly determine what line it is contained
on and to easily |
405 // iterate over structures on the line. | 405 // iterate over structures on the line. |
406 InlineBox* inlineBoxWrapper() const { return m_rareData ? m_rareData->m_inli
neBoxWrapper : 0; } | 406 InlineBox* inlineBoxWrapper() const { return m_rareData ? m_rareData->m_inli
neBoxWrapper : 0; } |
407 void setInlineBoxWrapper(InlineBox*); | 407 void setInlineBoxWrapper(InlineBox*); |
408 void deleteLineBoxWrapper(); | 408 void deleteLineBoxWrapper(); |
409 | 409 |
410 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec
t* repaintContainer) const OVERRIDE; | 410 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer) const OVERRIDE; |
411 virtual void mapRectToRepaintBacking(const RenderLayerModelObject* repaintCo
ntainer, LayoutRect&, bool fixed = false) const OVERRIDE; | 411 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, bool fixed = false) const OVERRIDE; |
412 void repaintDuringLayoutIfMoved(const LayoutRect&); | 412 void repaintDuringLayoutIfMoved(const LayoutRect&); |
413 virtual void repaintOverhangingFloats(bool paintAllDescendants); | 413 virtual void repaintOverhangingFloats(bool paintAllDescendants); |
414 | 414 |
415 virtual LayoutUnit containingBlockLogicalWidthForContent() const OVERRIDE; | 415 virtual LayoutUnit containingBlockLogicalWidthForContent() const OVERRIDE; |
416 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; | 416 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; |
417 | 417 |
418 LayoutUnit containingBlockAvailableLineWidth() const; | 418 LayoutUnit containingBlockAvailableLineWidth() const; |
419 LayoutUnit perpendicularContainingBlockLogicalHeight() const; | 419 LayoutUnit perpendicularContainingBlockLogicalHeight() const; |
420 | 420 |
421 virtual void updateLogicalWidth(); | 421 virtual void updateLogicalWidth(); |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 if (UNLIKELY(inlineBoxWrapper() != 0)) | 774 if (UNLIKELY(inlineBoxWrapper() != 0)) |
775 deleteLineBoxWrapper(); | 775 deleteLineBoxWrapper(); |
776 } | 776 } |
777 | 777 |
778 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 778 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
779 } | 779 } |
780 | 780 |
781 } // namespace WebCore | 781 } // namespace WebCore |
782 | 782 |
783 #endif // RenderBox_h | 783 #endif // RenderBox_h |
OLD | NEW |