OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou
tUnit lineBottom); | 119 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou
tUnit lineBottom); |
120 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom) OVERRIDE FINAL; | 120 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom) OVERRIDE FINAL; |
121 | 121 |
122 using InlineBox::hasSelectedChildren; | 122 using InlineBox::hasSelectedChildren; |
123 using InlineBox::setHasSelectedChildren; | 123 using InlineBox::setHasSelectedChildren; |
124 | 124 |
125 virtual RenderObject::SelectionState selectionState() OVERRIDE FINAL; | 125 virtual RenderObject::SelectionState selectionState() OVERRIDE FINAL; |
126 InlineBox* firstSelectedBox(); | 126 InlineBox* firstSelectedBox(); |
127 InlineBox* lastSelectedBox(); | 127 InlineBox* lastSelectedBox(); |
128 | 128 |
129 GapRects lineSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlo
ckPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selTop, La
youtUnit selHeight, const PaintInfo*); | 129 GapRects lineSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlo
ckPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selTop, La
youtUnit selHeight, PaintInfo*); |
130 | 130 |
131 RenderBlock* block() const; | 131 RenderBlock* block() const; |
132 | 132 |
133 InlineBox* closestLeafChildForPoint(const IntPoint&, bool onlyEditableLeaves
); | 133 InlineBox* closestLeafChildForPoint(const IntPoint&, bool onlyEditableLeaves
); |
134 InlineBox* closestLeafChildForLogicalLeftPosition(int, bool onlyEditableLeav
es = false); | 134 InlineBox* closestLeafChildForLogicalLeftPosition(int, bool onlyEditableLeav
es = false); |
135 | 135 |
136 void appendFloat(RenderBox* floatingBox) | 136 void appendFloat(RenderBox* floatingBox) |
137 { | 137 { |
138 ASSERT(!isDirty()); | 138 ASSERT(!isDirty()); |
139 if (m_floats) | 139 if (m_floats) |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 OwnPtr<LineFragmentationData> m_fragmentationData; | 243 OwnPtr<LineFragmentationData> m_fragmentationData; |
244 | 244 |
245 // Floats hanging off the line are pushed into this vector during layout. It
is only | 245 // Floats hanging off the line are pushed into this vector during layout. It
is only |
246 // good for as long as the line has not been marked dirty. | 246 // good for as long as the line has not been marked dirty. |
247 OwnPtr<Vector<RenderBox*> > m_floats; | 247 OwnPtr<Vector<RenderBox*> > m_floats; |
248 }; | 248 }; |
249 | 249 |
250 } // namespace WebCore | 250 } // namespace WebCore |
251 | 251 |
252 #endif // RootInlineBox_h | 252 #endif // RootInlineBox_h |
OLD | NEW |