OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2008 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // Position | 155 // Position |
156 // ------------------------------------------------------------------------- | 156 // ------------------------------------------------------------------------- |
157 | 157 |
158 // Functions returning Position | 158 // Functions returning Position |
159 | 159 |
160 Position nextCandidate(const Position&); | 160 Position nextCandidate(const Position&); |
161 PositionInComposedTree nextCandidate(const PositionInComposedTree&); | 161 PositionInComposedTree nextCandidate(const PositionInComposedTree&); |
162 Position previousCandidate(const Position&); | 162 Position previousCandidate(const Position&); |
163 PositionInComposedTree previousCandidate(const PositionInComposedTree&); | 163 PositionInComposedTree previousCandidate(const PositionInComposedTree&); |
164 | 164 |
165 Position nextVisuallyDistinctCandidate(const Position&); | 165 CORE_EXPORT Position nextVisuallyDistinctCandidate(const Position&); |
| 166 CORE_EXPORT PositionInComposedTree nextVisuallyDistinctCandidate(const PositionI
nComposedTree&); |
166 Position previousVisuallyDistinctCandidate(const Position&); | 167 Position previousVisuallyDistinctCandidate(const Position&); |
167 PositionInComposedTree previousVisuallyDistinctCandidate(const PositionInCompose
dTree&); | 168 PositionInComposedTree previousVisuallyDistinctCandidate(const PositionInCompose
dTree&); |
168 | 169 |
169 Position positionBeforeContainingSpecialElement(const Position&, HTMLElement** c
ontainingSpecialElement = nullptr); | 170 Position positionBeforeContainingSpecialElement(const Position&, HTMLElement** c
ontainingSpecialElement = nullptr); |
170 Position positionAfterContainingSpecialElement(const Position&, HTMLElement** co
ntainingSpecialElement = nullptr); | 171 Position positionAfterContainingSpecialElement(const Position&, HTMLElement** co
ntainingSpecialElement = nullptr); |
171 | 172 |
172 inline Position firstPositionInOrBeforeNode(Node* node) | 173 inline Position firstPositionInOrBeforeNode(Node* node) |
173 { | 174 { |
174 return Position::firstPositionInOrBeforeNode(node); | 175 return Position::firstPositionInOrBeforeNode(node); |
175 } | 176 } |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 306 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
306 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; | 307 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; |
307 } | 308 } |
308 | 309 |
309 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 310 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
310 const String& nonBreakingSpaceString(); | 311 const String& nonBreakingSpaceString(); |
311 | 312 |
312 } | 313 } |
313 | 314 |
314 #endif | 315 #endif |
OLD | NEW |