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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 void paintEllipsisBox(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, La
youtUnit lineBottom) const; | 111 void paintEllipsisBox(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, La
youtUnit lineBottom) const; |
112 | 112 |
113 virtual void clearTruncation() OVERRIDE FINAL; | 113 virtual void clearTruncation() OVERRIDE FINAL; |
114 | 114 |
115 bool isHyphenated() const; | 115 bool isHyphenated() const; |
116 | 116 |
117 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL
; | 117 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL
; |
118 virtual LayoutUnit lineHeight() const OVERRIDE FINAL; | 118 virtual LayoutUnit lineHeight() const OVERRIDE FINAL; |
119 | 119 |
120 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou
tUnit lineBottom); | 120 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou
tUnit lineBottom) OVERRIDE; |
121 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom) OVERRIDE FINAL; | 121 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom) OVERRIDE FINAL; |
122 | 122 |
123 using InlineBox::hasSelectedChildren; | 123 using InlineBox::hasSelectedChildren; |
124 using InlineBox::setHasSelectedChildren; | 124 using InlineBox::setHasSelectedChildren; |
125 | 125 |
126 virtual RenderObject::SelectionState selectionState() OVERRIDE FINAL; | 126 virtual RenderObject::SelectionState selectionState() OVERRIDE FINAL; |
127 InlineBox* firstSelectedBox(); | 127 InlineBox* firstSelectedBox(); |
128 InlineBox* lastSelectedBox(); | 128 InlineBox* lastSelectedBox(); |
129 | 129 |
130 GapRects lineSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlo
ckPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selTop, La
youtUnit selHeight, const PaintInfo*); | 130 GapRects lineSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlo
ckPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selTop, La
youtUnit selHeight, const PaintInfo*); |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 OwnPtr<LineFragmentationData> m_fragmentationData; | 242 OwnPtr<LineFragmentationData> m_fragmentationData; |
243 | 243 |
244 // Floats hanging off the line are pushed into this vector during layout. It
is only | 244 // Floats hanging off the line are pushed into this vector during layout. It
is only |
245 // good for as long as the line has not been marked dirty. | 245 // good for as long as the line has not been marked dirty. |
246 OwnPtr<Vector<RenderBox*> > m_floats; | 246 OwnPtr<Vector<RenderBox*> > m_floats; |
247 }; | 247 }; |
248 | 248 |
249 } // namespace WebCore | 249 } // namespace WebCore |
250 | 250 |
251 #endif // RootInlineBox_h | 251 #endif // RootInlineBox_h |
OLD | NEW |