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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 int baselinePosition(FontBaseline baselineType) const final; | 104 int baselinePosition(FontBaseline baselineType) const final; |
105 LayoutUnit lineHeight() const final; | 105 LayoutUnit lineHeight() const final; |
106 | 106 |
107 void paint(const PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutU
nit lineBottom) const override; | 107 void paint(const PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutU
nit lineBottom) const override; |
108 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom
) override; | 108 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom
) override; |
109 | 109 |
110 using InlineBox::hasSelectedChildren; | 110 using InlineBox::hasSelectedChildren; |
111 using InlineBox::setHasSelectedChildren; | 111 using InlineBox::setHasSelectedChildren; |
112 | 112 |
113 SelectionState selectionState() const final; | 113 SelectionState getSelectionState() const final; |
114 InlineBox* firstSelectedBox() const; | 114 InlineBox* firstSelectedBox() const; |
115 InlineBox* lastSelectedBox() const; | 115 InlineBox* lastSelectedBox() const; |
116 | 116 |
117 LineLayoutBlockFlow block() const; | 117 LineLayoutBlockFlow block() const; |
118 | 118 |
119 InlineBox* closestLeafChildForPoint(const LayoutPoint&, bool onlyEditableLea
ves); | 119 InlineBox* closestLeafChildForPoint(const LayoutPoint&, bool onlyEditableLea
ves); |
120 InlineBox* closestLeafChildForLogicalLeftPosition(LayoutUnit, bool onlyEdita
bleLeaves = false); | 120 InlineBox* closestLeafChildForLogicalLeftPosition(LayoutUnit, bool onlyEdita
bleLeaves = false); |
121 | 121 |
122 void appendFloat(LayoutBox* floatingBox) | 122 void appendFloat(LayoutBox* floatingBox) |
123 { | 123 { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 LayoutUnit m_lineBottom; | 189 LayoutUnit m_lineBottom; |
190 LayoutUnit m_lineTopWithLeading; | 190 LayoutUnit m_lineTopWithLeading; |
191 LayoutUnit m_lineBottomWithLeading; | 191 LayoutUnit m_lineBottomWithLeading; |
192 LayoutUnit m_selectionBottom; | 192 LayoutUnit m_selectionBottom; |
193 LayoutUnit m_paginationStrut; | 193 LayoutUnit m_paginationStrut; |
194 }; | 194 }; |
195 | 195 |
196 } // namespace blink | 196 } // namespace blink |
197 | 197 |
198 #endif // RootInlineBox_h | 198 #endif // RootInlineBox_h |
OLD | NEW |