| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void paint(const PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutU
nit lineBottom) const override; | 109 void paint(const PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutU
nit lineBottom) const override; |
| 110 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom
) override; | 110 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom
) override; |
| 111 | 111 |
| 112 using InlineBox::hasSelectedChildren; | 112 using InlineBox::hasSelectedChildren; |
| 113 using InlineBox::setHasSelectedChildren; | 113 using InlineBox::setHasSelectedChildren; |
| 114 | 114 |
| 115 SelectionState selectionState() const final; | 115 SelectionState selectionState() const final; |
| 116 InlineBox* firstSelectedBox() const; | 116 InlineBox* firstSelectedBox() const; |
| 117 InlineBox* lastSelectedBox() const; | 117 InlineBox* lastSelectedBox() const; |
| 118 | 118 |
| 119 GapRects lineSelectionGap(const LayoutBlock* rootBlock, const LayoutPoint& r
ootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, LayoutUnit selT
op, LayoutUnit selHeight, const PaintInfo*) const; | |
| 120 | |
| 121 LayoutBlockFlow& block() const; | 119 LayoutBlockFlow& block() const; |
| 122 | 120 |
| 123 InlineBox* closestLeafChildForPoint(const LayoutPoint&, bool onlyEditableLea
ves); | 121 InlineBox* closestLeafChildForPoint(const LayoutPoint&, bool onlyEditableLea
ves); |
| 124 InlineBox* closestLeafChildForLogicalLeftPosition(LayoutUnit, bool onlyEdita
bleLeaves = false); | 122 InlineBox* closestLeafChildForLogicalLeftPosition(LayoutUnit, bool onlyEdita
bleLeaves = false); |
| 125 | 123 |
| 126 void appendFloat(LayoutBox* floatingBox) | 124 void appendFloat(LayoutBox* floatingBox) |
| 127 { | 125 { |
| 128 ASSERT(!isDirty()); | 126 ASSERT(!isDirty()); |
| 129 if (m_floats) | 127 if (m_floats) |
| 130 m_floats->append(floatingBox); | 128 m_floats->append(floatingBox); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 LayoutUnit m_lineBottom; | 191 LayoutUnit m_lineBottom; |
| 194 LayoutUnit m_lineTopWithLeading; | 192 LayoutUnit m_lineTopWithLeading; |
| 195 LayoutUnit m_lineBottomWithLeading; | 193 LayoutUnit m_lineBottomWithLeading; |
| 196 LayoutUnit m_selectionBottom; | 194 LayoutUnit m_selectionBottom; |
| 197 LayoutUnit m_paginationStrut; | 195 LayoutUnit m_paginationStrut; |
| 198 }; | 196 }; |
| 199 | 197 |
| 200 } // namespace blink | 198 } // namespace blink |
| 201 | 199 |
| 202 #endif // RootInlineBox_h | 200 #endif // RootInlineBox_h |
| OLD | NEW |