| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 151 |
| 152 LineLayoutBlockFlow block() const; | 152 LineLayoutBlockFlow block() const; |
| 153 | 153 |
| 154 InlineBox* closestLeafChildForPoint(const LayoutPoint&, | 154 InlineBox* closestLeafChildForPoint(const LayoutPoint&, |
| 155 bool onlyEditableLeaves); | 155 bool onlyEditableLeaves); |
| 156 InlineBox* closestLeafChildForLogicalLeftPosition( | 156 InlineBox* closestLeafChildForLogicalLeftPosition( |
| 157 LayoutUnit, | 157 LayoutUnit, |
| 158 bool onlyEditableLeaves = false); | 158 bool onlyEditableLeaves = false); |
| 159 | 159 |
| 160 void appendFloat(LayoutBox* floatingBox) { | 160 void appendFloat(LayoutBox* floatingBox) { |
| 161 ASSERT(!isDirty()); | 161 DCHECK(!isDirty()); |
| 162 if (m_floats) | 162 if (m_floats) |
| 163 m_floats->push_back(floatingBox); | 163 m_floats->push_back(floatingBox); |
| 164 else | 164 else |
| 165 m_floats = WTF::wrapUnique(new Vector<LayoutBox*>(1, floatingBox)); | 165 m_floats = WTF::wrapUnique(new Vector<LayoutBox*>(1, floatingBox)); |
| 166 } | 166 } |
| 167 | 167 |
| 168 Vector<LayoutBox*>* floatsPtr() { | 168 Vector<LayoutBox*>* floatsPtr() { |
| 169 ASSERT(!isDirty()); | 169 DCHECK(!isDirty()); |
| 170 return m_floats.get(); | 170 return m_floats.get(); |
| 171 } | 171 } |
| 172 | 172 |
| 173 void extractLineBoxFromLayoutObject() final; | 173 void extractLineBoxFromLayoutObject() final; |
| 174 void attachLineBoxToLayoutObject() final; | 174 void attachLineBoxToLayoutObject() final; |
| 175 void removeLineBoxFromLayoutObject() final; | 175 void removeLineBoxFromLayoutObject() final; |
| 176 | 176 |
| 177 FontBaseline baselineType() const { | 177 FontBaseline baselineType() const { |
| 178 return static_cast<FontBaseline>(m_baselineType); | 178 return static_cast<FontBaseline>(m_baselineType); |
| 179 } | 179 } |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 LayoutUnit m_lineBottom; | 230 LayoutUnit m_lineBottom; |
| 231 LayoutUnit m_lineTopWithLeading; | 231 LayoutUnit m_lineTopWithLeading; |
| 232 LayoutUnit m_lineBottomWithLeading; | 232 LayoutUnit m_lineBottomWithLeading; |
| 233 LayoutUnit m_selectionBottom; | 233 LayoutUnit m_selectionBottom; |
| 234 LayoutUnit m_paginationStrut; | 234 LayoutUnit m_paginationStrut; |
| 235 }; | 235 }; |
| 236 | 236 |
| 237 } // namespace blink | 237 } // namespace blink |
| 238 | 238 |
| 239 #endif // RootInlineBox_h | 239 #endif // RootInlineBox_h |
| OLD | NEW |