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

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

Issue 2913003003: Add version of TextIterator constructor that takes EphemeralRange (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..e3017778616507f6cd7917b4e90331d3f3e7a950 100644
--- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
+++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
@@ -59,6 +59,12 @@ class CORE_TEMPLATE_CLASS_EXPORT TextIteratorAlgorithm {
TextIteratorAlgorithm(const PositionTemplate<Strategy>& start,
const PositionTemplate<Strategy>& end,
const TextIteratorBehavior& = TextIteratorBehavior());
+
+ // Same behavior as previous constructor but takes an EphemeralRange instead
+ // of two Positions
+ TextIteratorAlgorithm(const EphemeralRangeTemplate<Strategy>&,
+ const TextIteratorBehavior& = TextIteratorBehavior());
+
~TextIteratorAlgorithm();
bool AtEnd() const { return !text_state_.PositionNode() || should_stop_; }
« 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