| Index: third_party/WebKit/Source/core/editing/iterators/TextIterator.h
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIterator.h b/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
|
| index 86efdcbbdd633f36861edb6af42683d5e653a1ff..dd19dbf72b4df990c251a15ea15d49f2aff134f9 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
|
| @@ -134,9 +134,17 @@ class CORE_TEMPLATE_CLASS_EXPORT TextIteratorAlgorithm {
|
| bool ShouldRepresentNodeOffsetZero();
|
| bool ShouldEmitSpaceBeforeAndAfterNode(Node*);
|
| void RepresentNodeOffsetZero();
|
| +
|
| + // Return true if the iteration progress should advance to |kHandledNode|
|
| + // after calling a |HandleXXX| function.
|
| + // TODO(xiaochengh): The meaning of the return values is unclear, and they do
|
| + // not always clearly control the iteration progress. Should consider removing
|
| + // the return values and control the iteration in a cleaner way.
|
| bool HandleTextNode();
|
| + bool HandlePreFormattedTextNode();
|
| bool HandleReplacedElement();
|
| bool HandleNonTextNode();
|
| +
|
| void HandleTextBox();
|
| void HandleTextNodeFirstLetter(LayoutTextFragment*);
|
| bool ShouldHandleFirstLetter(const LayoutText&) const;
|
|
|