| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 String m_textContainer; // We're interested in the range [m_textOffset, m_te
xtOffset + m_textLength) of m_textContainer. | 101 String m_textContainer; // We're interested in the range [m_textOffset, m_te
xtOffset + m_textLength) of m_textContainer. |
| 102 int m_textOffset; | 102 int m_textOffset; |
| 103 int m_textLength; | 103 int m_textLength; |
| 104 | 104 |
| 105 // Used for whitespace characters that aren't in the DOM, so we can point at
them. | 105 // Used for whitespace characters that aren't in the DOM, so we can point at
them. |
| 106 UChar m_singleCharacterBuffer; | 106 UChar m_singleCharacterBuffer; |
| 107 | 107 |
| 108 // Whether m_node has advanced beyond the iteration range (i.e. m_startNode)
. | 108 // Whether m_node has advanced beyond the iteration range (i.e. m_startNode)
. |
| 109 bool m_havePassedStartNode; | 109 bool m_havePassedStartNode; |
| 110 | 110 |
| 111 // Should handle first-letter renderer in the next call to handleTextNode. | 111 // Should handle first-letter layoutObject in the next call to handleTextNod
e. |
| 112 bool m_shouldHandleFirstLetter; | 112 bool m_shouldHandleFirstLetter; |
| 113 | 113 |
| 114 // Used when the iteration should stop if form controls are reached. | 114 // Used when the iteration should stop if form controls are reached. |
| 115 bool m_stopsOnFormControls; | 115 bool m_stopsOnFormControls; |
| 116 | 116 |
| 117 // Used when m_stopsOnFormControls is set to determine if the iterator shoul
d keep advancing. | 117 // Used when m_stopsOnFormControls is set to determine if the iterator shoul
d keep advancing. |
| 118 bool m_shouldStop; | 118 bool m_shouldStop; |
| 119 | 119 |
| 120 // Used in pasting inside password field. | 120 // Used in pasting inside password field. |
| 121 bool m_emitsOriginalText; | 121 bool m_emitsOriginalText; |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace blink | 124 } // namespace blink |
| 125 | 125 |
| 126 #endif // SimplifiedBackwardsTextIterator_h | 126 #endif // SimplifiedBackwardsTextIterator_h |
| OLD | NEW |