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

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

Issue 1371003002: Utilize VisibleSelectionTemplate template class in SelectionController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2015-09-28T14:31:05 Created 5 years, 3 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 58eb56bdd1b7be4f124f5f388bb5a0a55ae84bb9..da884705b4591ba90eef1ac6c37729d3ab3d4e03 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
@@ -301,7 +301,9 @@ public:
void setIsDirectional(bool isDirectional) { m_visibleSelection.setIsDirectional(isDirectional); }
void setWithoutValidation(const PositionAlgorithm<Strategy>& base, const PositionAlgorithm<Strategy>& extent);
+ void appendTrailingWhitespace();
bool expandUsingGranularity(TextGranularity);
+ static VisibleSelectionTemplate<Strategy> selectionFromContentsOfNode(Node*);
DEFINE_INLINE_TRACE()
{

Powered by Google App Engine
This is Rietveld 408576698