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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionTemplate.h

Issue 2432173005: Get rid of VisibleSelection::selectionFromContentsOfNode() (Closed)
Patch Set: 2016-10-20T17:14:18 Created 4 years, 2 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
Index: third_party/WebKit/Source/core/editing/SelectionTemplate.h
diff --git a/third_party/WebKit/Source/core/editing/SelectionTemplate.h b/third_party/WebKit/Source/core/editing/SelectionTemplate.h
index c4189ab852170e6c608dd408273e2a19d809ae9c..0fb5cc5d1ebc5e63e39cebd5c35748a1e1bacb51 100644
--- a/third_party/WebKit/Source/core/editing/SelectionTemplate.h
+++ b/third_party/WebKit/Source/core/editing/SelectionTemplate.h
@@ -46,6 +46,9 @@ class CORE_EXPORT SelectionTemplate final {
// document.
Builder& extend(const PositionTemplate<Strategy>& extent);
+ // Select all children in |node|.
+ Builder& selectAllChildren(const Node& /* node */);
+
Builder& setBaseAndExtent(const EphemeralRangeTemplate<Strategy>&);
// |extent| can not be null if |base| isn't null.

Powered by Google App Engine
This is Rietveld 408576698