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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); } | 72 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); } |
73 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); } | 73 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); } |
74 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox
es() ? firstLineBox() : culledInlineFirstLineBox(); } | 74 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox
es() ? firstLineBox() : culledInlineFirstLineBox(); } |
75 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe
s() ? lastLineBox() : culledInlineLastLineBox(); } | 75 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe
s() ? lastLineBox() : culledInlineLastLineBox(); } |
76 | 76 |
77 virtual RenderBoxModelObject* virtualContinuation() const OVERRIDE FINAL { r
eturn continuation(); } | 77 virtual RenderBoxModelObject* virtualContinuation() const OVERRIDE FINAL { r
eturn continuation(); } |
78 RenderInline* inlineElementContinuation() const; | 78 RenderInline* inlineElementContinuation() const; |
79 | 79 |
80 virtual void updateDragState(bool dragOn) OVERRIDE FINAL; | 80 virtual void updateDragState(bool dragOn) OVERRIDE FINAL; |
81 | 81 |
82 LayoutSize offsetForInFlowPositionedInline(const RenderBox* child) const; | 82 LayoutSize offsetForInFlowPositionedInline(const RenderBox& child) const; |
83 | 83 |
84 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE FINAL; | 84 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE FINAL; |
85 void paintOutline(PaintInfo&, const LayoutPoint&); | 85 void paintOutline(PaintInfo&, const LayoutPoint&); |
86 | 86 |
87 using RenderBoxModelObject::continuation; | 87 using RenderBoxModelObject::continuation; |
88 using RenderBoxModelObject::setContinuation; | 88 using RenderBoxModelObject::setContinuation; |
89 | 89 |
90 bool alwaysCreateLineBoxes() const { return m_alwaysCreateLineBoxes; } | 90 bool alwaysCreateLineBoxes() const { return m_alwaysCreateLineBoxes; } |
91 void setAlwaysCreateLineBoxes() { m_alwaysCreateLineBoxes = true; } | 91 void setAlwaysCreateLineBoxes() { m_alwaysCreateLineBoxes = true; } |
92 void updateAlwaysCreateLineBoxes(bool fullLayout); | 92 void updateAlwaysCreateLineBoxes(bool fullLayout); |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i
nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. | 185 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i
nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. |
186 | 186 |
187 bool m_alwaysCreateLineBoxes : 1; | 187 bool m_alwaysCreateLineBoxes : 1; |
188 }; | 188 }; |
189 | 189 |
190 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); | 190 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); |
191 | 191 |
192 } // namespace WebCore | 192 } // namespace WebCore |
193 | 193 |
194 #endif // RenderInline_h | 194 #endif // RenderInline_h |
OLD | NEW |