| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 String m_text; | 169 String m_text; |
| 170 | 170 |
| 171 // Used when there is still some pending text from the current node; when th
ese | 171 // Used when there is still some pending text from the current node; when th
ese |
| 172 // are false and 0, we go back to normal iterating. | 172 // are false and 0, we go back to normal iterating. |
| 173 bool m_needsAnotherNewline; | 173 bool m_needsAnotherNewline; |
| 174 InlineTextBox* m_textBox; | 174 InlineTextBox* m_textBox; |
| 175 // Used when iteration over :first-letter text to save pointer to | 175 // Used when iteration over :first-letter text to save pointer to |
| 176 // remaining text box. | 176 // remaining text box. |
| 177 InlineTextBox* m_remainingTextBox; | 177 InlineTextBox* m_remainingTextBox; |
| 178 // Used to point to RenderText object for :first-letter. | 178 // Used to point to RenderText object for :first-letter. |
| 179 RawPtrWillBeMember<RenderText> m_firstLetterText; | 179 RenderText *m_firstLetterText; |
| 180 | 180 |
| 181 // Used to do the whitespace collapsing logic. | 181 // Used to do the whitespace collapsing logic. |
| 182 RawPtrWillBeMember<Node> m_lastTextNode; | 182 RawPtrWillBeMember<Node> m_lastTextNode; |
| 183 bool m_lastTextNodeEndedWithCollapsedSpace; | 183 bool m_lastTextNodeEndedWithCollapsedSpace; |
| 184 UChar m_lastCharacter; | 184 UChar m_lastCharacter; |
| 185 | 185 |
| 186 // Used for whitespace characters that aren't in the DOM, so we can point at
them. | 186 // Used for whitespace characters that aren't in the DOM, so we can point at
them. |
| 187 // If non-zero, overrides m_text. | 187 // If non-zero, overrides m_text. |
| 188 UChar m_singleCharacterBuffer; | 188 UChar m_singleCharacterBuffer; |
| 189 | 189 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 Vector<UChar> m_buffer; | 373 Vector<UChar> m_buffer; |
| 374 // Did we have to look ahead in the textIterator to confirm the current chun
k? | 374 // Did we have to look ahead in the textIterator to confirm the current chun
k? |
| 375 bool m_didLookAhead; | 375 bool m_didLookAhead; |
| 376 RefPtrWillBeMember<Range> m_range; | 376 RefPtrWillBeMember<Range> m_range; |
| 377 TextIterator m_textIterator; | 377 TextIterator m_textIterator; |
| 378 }; | 378 }; |
| 379 | 379 |
| 380 } | 380 } |
| 381 | 381 |
| 382 #endif | 382 #endif |
| OLD | NEW |