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, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 LayoutSize relativePositionedInlineOffset(const RenderBox* child) const; | 74 LayoutSize relativePositionedInlineOffset(const RenderBox* child) const; |
75 | 75 |
76 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint&); | 76 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint&); |
77 void paintOutline(GraphicsContext*, const LayoutPoint&); | 77 void paintOutline(GraphicsContext*, const LayoutPoint&); |
78 | 78 |
79 using RenderBoxModelObject::continuation; | 79 using RenderBoxModelObject::continuation; |
80 using RenderBoxModelObject::setContinuation; | 80 using RenderBoxModelObject::setContinuation; |
81 | 81 |
82 bool alwaysCreateLineBoxes() const { return m_alwaysCreateLineBoxes; } | 82 bool alwaysCreateLineBoxes() const { return m_alwaysCreateLineBoxes; } |
83 void setAlwaysCreateLineBoxes() { m_alwaysCreateLineBoxes = true; } | 83 void setAlwaysCreateLineBoxes() { m_alwaysCreateLineBoxes = true; } |
84 void updateAlwaysCreateLineBoxes(); | 84 void updateAlwaysCreateLineBoxes(bool fullLayout); |
85 | 85 |
86 protected: | 86 protected: |
87 virtual void willBeDestroyed(); | 87 virtual void willBeDestroyed(); |
88 | 88 |
89 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 89 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
90 | 90 |
91 private: | 91 private: |
92 virtual RenderObjectChildList* virtualChildren() { return children(); } | 92 virtual RenderObjectChildList* virtualChildren() { return children(); } |
93 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 93 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } |
94 const RenderObjectChildList* children() const { return &m_children; } | 94 const RenderObjectChildList* children() const { return &m_children; } |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 ASSERT(!object || object->isRenderInline()); | 184 ASSERT(!object || object->isRenderInline()); |
185 return static_cast<const RenderInline*>(object); | 185 return static_cast<const RenderInline*>(object); |
186 } | 186 } |
187 | 187 |
188 // This will catch anyone doing an unnecessary cast. | 188 // This will catch anyone doing an unnecessary cast. |
189 void toRenderInline(const RenderInline*); | 189 void toRenderInline(const RenderInline*); |
190 | 190 |
191 } // namespace WebCore | 191 } // namespace WebCore |
192 | 192 |
193 #endif // RenderInline_h | 193 #endif // RenderInline_h |
OLD | NEW |