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

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

Issue 2425543003: Ensure clean layout for VisibleSelection::selectionFromContentsOfNode (Closed)
Patch Set: 201610171619 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/VisibleSelection.h
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.h b/third_party/WebKit/Source/core/editing/VisibleSelection.h
index 195c3b945a6f1cfb34019055064a70d5d57267c6..9a8b29ebdb1a812f5d5a268c3fe488c04e83b16c 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
@@ -63,6 +63,8 @@ class CORE_TEMPLATE_CLASS_EXPORT VisibleSelectionTemplate {
// |selectionFromContentsOfNode|.
static VisibleSelectionTemplate create(const SelectionTemplate<Strategy>&);
+ // TODO(editing-dev): We should get rid of this function and instead, use
+ // EphemeralRangeTemplate::rangeOfContents and SelectionTemplate::Builder.
static VisibleSelectionTemplate selectionFromContentsOfNode(Node*);
SelectionType getSelectionType() const { return m_selectionType; }
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelection.cpp ('k') | third_party/WebKit/Source/core/editing/VisibleSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698