| 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, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 void updateNeedsTranscoding(); | 176 void updateNeedsTranscoding(); |
| 177 | 177 |
| 178 void secureText(UChar mask); | 178 void secureText(UChar mask); |
| 179 | 179 |
| 180 // We put the bitfield first to minimize padding on 64-bit. | 180 // We put the bitfield first to minimize padding on 64-bit. |
| 181 bool m_hasBreakableChar : 1; // Whether or not we can be broken into multipl
e lines. | 181 bool m_hasBreakableChar : 1; // Whether or not we can be broken into multipl
e lines. |
| 182 bool m_hasBreak : 1; // Whether or not we have a hard break (e.g., <pre> wit
h '\n'). | 182 bool m_hasBreak : 1; // Whether or not we have a hard break (e.g., <pre> wit
h '\n'). |
| 183 bool m_hasTab : 1; // Whether or not we have a variable width tab character
(e.g., <pre> with '\t'). | 183 bool m_hasTab : 1; // Whether or not we have a variable width tab character
(e.g., <pre> with '\t'). |
| 184 bool m_hasBreakableStart : 1; | 184 bool m_hasBreakableStart : 1; |
| 185 bool m_hasBreakableEnd : 1; | 185 bool m_hasBreakableEnd : 1; |
| 186 bool m_hasEndWhiteSpace : 1; |
| 186 bool m_linesDirty : 1; // This bit indicates that the text run has already d
irtied specific | 187 bool m_linesDirty : 1; // This bit indicates that the text run has already d
irtied specific |
| 187 // line boxes, and this hint will enable layoutInline
Children to avoid | 188 // line boxes, and this hint will enable layoutInline
Children to avoid |
| 188 // just dirtying everything when character data is mo
dified (e.g., appended/inserted | 189 // just dirtying everything when character data is mo
dified (e.g., appended/inserted |
| 189 // or removed). | 190 // or removed). |
| 190 bool m_containsReversedText : 1; | 191 bool m_containsReversedText : 1; |
| 191 bool m_isAllASCII : 1; | 192 bool m_isAllASCII : 1; |
| 192 bool m_canUseSimpleFontCodePath : 1; | 193 bool m_canUseSimpleFontCodePath : 1; |
| 193 mutable bool m_knownToHaveNoOverflowAndNoFallbackFonts : 1; | 194 mutable bool m_knownToHaveNoOverflowAndNoFallbackFonts : 1; |
| 194 bool m_needsTranscoding : 1; | 195 bool m_needsTranscoding : 1; |
| 195 | 196 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 inline void RenderText::checkConsistency() const | 238 inline void RenderText::checkConsistency() const |
| 238 { | 239 { |
| 239 } | 240 } |
| 240 #endif | 241 #endif |
| 241 | 242 |
| 242 void applyTextTransform(const RenderStyle*, String&, UChar); | 243 void applyTextTransform(const RenderStyle*, String&, UChar); |
| 243 | 244 |
| 244 } // namespace WebCore | 245 } // namespace WebCore |
| 245 | 246 |
| 246 #endif // RenderText_h | 247 #endif // RenderText_h |
| OLD | NEW |