| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Dirk Mueller (mueller@kde.org) | 3 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2004-2009, 2013 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004-2009, 2013 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 LayoutRect localOverflowRectForPaintInvalidation() const override; | 285 LayoutRect localOverflowRectForPaintInvalidation() const override; |
| 286 | 286 |
| 287 void checkConsistency() const; | 287 void checkConsistency() const; |
| 288 | 288 |
| 289 // We put the bitfield first to minimize padding on 64-bit. | 289 // We put the bitfield first to minimize padding on 64-bit. |
| 290 | 290 |
| 291 // Whether or not we can be broken into multiple lines. | 291 // Whether or not we can be broken into multiple lines. |
| 292 bool m_hasBreakableChar : 1; | 292 bool m_hasBreakableChar : 1; |
| 293 // Whether or not we have a hard break (e.g., <pre> with '\n'). | 293 // Whether or not we have a hard break (e.g., <pre> with '\n'). |
| 294 bool m_hasBreak : 1; | 294 bool m_hasBreak : 1; |
| 295 // Whether or not we have a variable width tab character (e.g., <pre> with '\t
'). | 295 // Whether or not we have a variable width tab character (e.g., <pre> with |
| 296 // '\t'). |
| 296 bool m_hasTab : 1; | 297 bool m_hasTab : 1; |
| 297 bool m_hasBreakableStart : 1; | 298 bool m_hasBreakableStart : 1; |
| 298 bool m_hasBreakableEnd : 1; | 299 bool m_hasBreakableEnd : 1; |
| 299 bool m_hasEndWhiteSpace : 1; | 300 bool m_hasEndWhiteSpace : 1; |
| 300 // This bit indicates that the text run has already dirtied specific line | 301 // This bit indicates that the text run has already dirtied specific line |
| 301 // boxes, and this hint will enable layoutInlineChildren to avoid just | 302 // boxes, and this hint will enable layoutInlineChildren to avoid just |
| 302 // dirtying everything when character data is modified (e.g., appended/ | 303 // dirtying everything when character data is modified (e.g., appended/ |
| 303 // inserted or removed). | 304 // inserted or removed). |
| 304 bool m_linesDirty : 1; | 305 bool m_linesDirty : 1; |
| 305 bool m_containsReversedText : 1; | 306 bool m_containsReversedText : 1; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 | 356 |
| 356 inline LayoutText* Text::layoutObject() const { | 357 inline LayoutText* Text::layoutObject() const { |
| 357 return toLayoutText(CharacterData::layoutObject()); | 358 return toLayoutText(CharacterData::layoutObject()); |
| 358 } | 359 } |
| 359 | 360 |
| 360 void applyTextTransform(const ComputedStyle*, String&, UChar); | 361 void applyTextTransform(const ComputedStyle*, String&, UChar); |
| 361 | 362 |
| 362 } // namespace blink | 363 } // namespace blink |
| 363 | 364 |
| 364 #endif // LayoutText_h | 365 #endif // LayoutText_h |
| OLD | NEW |