| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 Node* getLogicalEndBoxWithNode(InlineBox*&) const; | 210 Node* getLogicalEndBoxWithNode(InlineBox*&) const; |
| 211 | 211 |
| 212 const char* boxName() const override; | 212 const char* boxName() const override; |
| 213 | 213 |
| 214 private: | 214 private: |
| 215 LayoutUnit beforeAnnotationsAdjustment() const; | 215 LayoutUnit beforeAnnotationsAdjustment() const; |
| 216 | 216 |
| 217 // This folds into the padding at the end of InlineFlowBox on 64-bit. | 217 // This folds into the padding at the end of InlineFlowBox on 64-bit. |
| 218 unsigned m_lineBreakPos; | 218 unsigned m_lineBreakPos; |
| 219 | 219 |
| 220 // Where this line ended. The exact object and the position within that objec
t are stored so that | 220 // Where this line ended. The exact object and the position within that |
| 221 // we can create an InlineIterator beginning just after the end of this line. | 221 // object are stored so that we can create an InlineIterator beginning just |
| 222 // after the end of this line. |
| 222 LineLayoutItem m_lineBreakObj; | 223 LineLayoutItem m_lineBreakObj; |
| 223 RefPtr<BidiContext> m_lineBreakContext; | 224 RefPtr<BidiContext> m_lineBreakContext; |
| 224 | 225 |
| 225 // Floats hanging off the line are pushed into this vector during layout. It i
s only | 226 // Floats hanging off the line are pushed into this vector during layout. It |
| 226 // good for as long as the line has not been marked dirty. | 227 // is only good for as long as the line has not been marked dirty. |
| 227 std::unique_ptr<Vector<LayoutBox*>> m_floats; | 228 std::unique_ptr<Vector<LayoutBox*>> m_floats; |
| 228 | 229 |
| 229 LayoutUnit m_lineTop; | 230 LayoutUnit m_lineTop; |
| 230 LayoutUnit m_lineBottom; | 231 LayoutUnit m_lineBottom; |
| 231 LayoutUnit m_lineTopWithLeading; | 232 LayoutUnit m_lineTopWithLeading; |
| 232 LayoutUnit m_lineBottomWithLeading; | 233 LayoutUnit m_lineBottomWithLeading; |
| 233 LayoutUnit m_selectionBottom; | 234 LayoutUnit m_selectionBottom; |
| 234 LayoutUnit m_paginationStrut; | 235 LayoutUnit m_paginationStrut; |
| 235 }; | 236 }; |
| 236 | 237 |
| 237 } // namespace blink | 238 } // namespace blink |
| 238 | 239 |
| 239 #endif // RootInlineBox_h | 240 #endif // RootInlineBox_h |
| OLD | NEW |