Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Unified Diff: third_party/WebKit/Source/core/editing/iterators/TextIterator.h

Issue 2911373003: Wrap code into TextIterator::HandleRememberedProgress (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fd420e0ff9d07992c34fa24e46fa4dd5fc0cb12b..4c01d0f13111f2a2a7306e3399d01b63b66881c2 100644
--- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
+++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
@@ -131,6 +131,9 @@ class CORE_TEMPLATE_CLASS_EXPORT TextIteratorAlgorithm {
bool ShouldEmitSpaceBeforeAndAfterNode(Node*);
void RepresentNodeOffsetZero();
+ // Returns true if text is emitted from the remembered progress (if any).
+ bool HandleRememberedProgress();
+
// 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698