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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox
es() ? firstLineBox() : culledInlineFirstLineBox(); } | 79 InlineBox* firstLineBoxIncludingCulling() const { return alwaysCreateLineBox
es() ? firstLineBox() : culledInlineFirstLineBox(); } |
80 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe
s() ? lastLineBox() : culledInlineLastLineBox(); } | 80 InlineBox* lastLineBoxIncludingCulling() const { return alwaysCreateLineBoxe
s() ? lastLineBox() : culledInlineLastLineBox(); } |
81 | 81 |
82 LayoutBoxModelObject* virtualContinuation() const final { return continuatio
n(); } | 82 LayoutBoxModelObject* virtualContinuation() const final { return continuatio
n(); } |
83 LayoutInline* inlineElementContinuation() const; | 83 LayoutInline* inlineElementContinuation() const; |
84 | 84 |
85 void updateDragState(bool dragOn) final; | 85 void updateDragState(bool dragOn) final; |
86 | 86 |
87 LayoutSize offsetForInFlowPositionedInline(const LayoutBox& child) const; | 87 LayoutSize offsetForInFlowPositionedInline(const LayoutBox& child) const; |
88 | 88 |
89 void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOff
set) const final; | 89 void addOutlineRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffse
t) const final; |
90 | 90 |
91 using LayoutBoxModelObject::continuation; | 91 using LayoutBoxModelObject::continuation; |
92 using LayoutBoxModelObject::setContinuation; | 92 using LayoutBoxModelObject::setContinuation; |
93 | 93 |
94 bool alwaysCreateLineBoxes() const { return alwaysCreateLineBoxesForLayoutIn
line(); } | 94 bool alwaysCreateLineBoxes() const { return alwaysCreateLineBoxesForLayoutIn
line(); } |
95 void setAlwaysCreateLineBoxes(bool alwaysCreateLineBoxes = true) { setAlways
CreateLineBoxesForLayoutInline(alwaysCreateLineBoxes); } | 95 void setAlwaysCreateLineBoxes(bool alwaysCreateLineBoxes = true) { setAlways
CreateLineBoxesForLayoutInline(alwaysCreateLineBoxes); } |
96 void updateAlwaysCreateLineBoxes(bool fullLayout); | 96 void updateAlwaysCreateLineBoxes(bool fullLayout); |
97 | 97 |
98 LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine
) final; | 98 LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine
) final; |
99 | 99 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 LayoutObjectChildList m_children; | 193 LayoutObjectChildList m_children; |
194 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl
ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. | 194 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl
ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. |
195 }; | 195 }; |
196 | 196 |
197 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 197 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
198 | 198 |
199 } // namespace blink | 199 } // namespace blink |
200 | 200 |
201 #endif // LayoutInline_h | 201 #endif // LayoutInline_h |
OLD | NEW |