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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL
; | 112 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL
; |
113 virtual LayoutUnit lineHeight() const OVERRIDE FINAL; | 113 virtual LayoutUnit lineHeight() const OVERRIDE FINAL; |
114 | 114 |
115 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou
tUnit lineBottom) OVERRIDE; | 115 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou
tUnit lineBottom) OVERRIDE; |
116 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom) OVERRIDE FINAL; | 116 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom) OVERRIDE FINAL; |
117 | 117 |
118 using InlineBox::hasSelectedChildren; | 118 using InlineBox::hasSelectedChildren; |
119 using InlineBox::setHasSelectedChildren; | 119 using InlineBox::setHasSelectedChildren; |
120 | 120 |
121 virtual RenderObject::SelectionState selectionState() OVERRIDE FINAL; | 121 virtual RenderObject::SelectionState selectionState() const OVERRIDE FINAL; |
122 InlineBox* firstSelectedBox(); | 122 InlineBox* firstSelectedBox() const; |
123 InlineBox* lastSelectedBox(); | 123 InlineBox* lastSelectedBox() const; |
124 | 124 |
125 GapRects lineSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlo
ckPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selTop, La
youtUnit selHeight, const PaintInfo*); | 125 GapRects lineSelectionGap(const RenderBlock* rootBlock, const LayoutPoint& r
ootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selT
op, LayoutUnit selHeight, const PaintInfo*) const; |
126 | 126 |
127 RenderBlockFlow& block() const; | 127 RenderBlockFlow& block() const; |
128 | 128 |
129 InlineBox* closestLeafChildForPoint(const IntPoint&, bool onlyEditableLeaves
); | 129 InlineBox* closestLeafChildForPoint(const IntPoint&, bool onlyEditableLeaves
); |
130 InlineBox* closestLeafChildForLogicalLeftPosition(int, bool onlyEditableLeav
es = false); | 130 InlineBox* closestLeafChildForLogicalLeftPosition(int, bool onlyEditableLeav
es = false); |
131 | 131 |
132 void appendFloat(RenderBox* floatingBox) | 132 void appendFloat(RenderBox* floatingBox) |
133 { | 133 { |
134 ASSERT(!isDirty()); | 134 ASSERT(!isDirty()); |
135 if (m_floats) | 135 if (m_floats) |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 LayoutUnit m_lineTop; | 231 LayoutUnit m_lineTop; |
232 LayoutUnit m_lineBottom; | 232 LayoutUnit m_lineBottom; |
233 LayoutUnit m_lineTopWithLeading; | 233 LayoutUnit m_lineTopWithLeading; |
234 LayoutUnit m_lineBottomWithLeading; | 234 LayoutUnit m_lineBottomWithLeading; |
235 LayoutUnit m_selectionBottom; | 235 LayoutUnit m_selectionBottom; |
236 }; | 236 }; |
237 | 237 |
238 } // namespace blink | 238 } // namespace blink |
239 | 239 |
240 #endif // RootInlineBox_h | 240 #endif // RootInlineBox_h |
OLD | NEW |