| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 float textWidthSoFar, | 277 float textWidthSoFar, |
| 278 TextDirection, | 278 TextDirection, |
| 279 HashSet<const SimpleFontData*>* fallbackFonts, | 279 HashSet<const SimpleFontData*>* fallbackFonts, |
| 280 FloatRect* glyphBoundsAccumulation) const; | 280 FloatRect* glyphBoundsAccumulation) const; |
| 281 | 281 |
| 282 void secureText(UChar mask); | 282 void secureText(UChar mask); |
| 283 | 283 |
| 284 bool isText() const = | 284 bool isText() const = |
| 285 delete; // This will catch anyone doing an unnecessary check. | 285 delete; // This will catch anyone doing an unnecessary check. |
| 286 | 286 |
| 287 char objectSize() const override { return sizeof(this); } |
| 288 |
| 287 LayoutRect localVisualRect() const override; | 289 LayoutRect localVisualRect() const override; |
| 288 | 290 |
| 289 void checkConsistency() const; | 291 void checkConsistency() const; |
| 290 | 292 |
| 291 // We put the bitfield first to minimize padding on 64-bit. | 293 // We put the bitfield first to minimize padding on 64-bit. |
| 292 | 294 |
| 293 // Whether or not we can be broken into multiple lines. | 295 // Whether or not we can be broken into multiple lines. |
| 294 bool m_hasBreakableChar : 1; | 296 bool m_hasBreakableChar : 1; |
| 295 // Whether or not we have a hard break (e.g., <pre> with '\n'). | 297 // Whether or not we have a hard break (e.g., <pre> with '\n'). |
| 296 bool m_hasBreak : 1; | 298 bool m_hasBreak : 1; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 inline LayoutText* Text::layoutObject() const { | 361 inline LayoutText* Text::layoutObject() const { |
| 360 return toLayoutText(CharacterData::layoutObject()); | 362 return toLayoutText(CharacterData::layoutObject()); |
| 361 } | 363 } |
| 362 | 364 |
| 363 void applyTextTransform(const ComputedStyle*, String&, UChar); | 365 void applyTextTransform(const ComputedStyle*, String&, UChar); |
| 364 AtomicString localeForLineBreakIterator(const ComputedStyle&); | 366 AtomicString localeForLineBreakIterator(const ComputedStyle&); |
| 365 | 367 |
| 366 } // namespace blink | 368 } // namespace blink |
| 367 | 369 |
| 368 #endif // LayoutText_h | 370 #endif // LayoutText_h |
| OLD | NEW |