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

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

Issue 2651803007: Added isHandleVisible to |SelectionTemplate| (Closed)
Patch Set: forgot to add setIsHandleVisible Created 3 years, 11 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.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionTemplate.cpp b/third_party/WebKit/Source/core/editing/SelectionTemplate.cpp
index d3652e72edd936085f1a834a86da4de45947c616..0b9056a272805b0650f15fbd1fa299e20658f00b 100644
--- a/third_party/WebKit/Source/core/editing/SelectionTemplate.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionTemplate.cpp
@@ -285,6 +285,13 @@ SelectionTemplate<Strategy>::Builder::setIsDirectional(bool isDirectional) {
return *this;
}
+template <typename Strategy>
+typename SelectionTemplate<Strategy>::Builder&
+SelectionTemplate<Strategy>::Builder::setIsHandleVisible(bool isHandleVisible) {
+ m_selection.m_isHandleVisible = isHandleVisible;
+ return *this;
+}
+
template class CORE_TEMPLATE_EXPORT SelectionTemplate<EditingStrategy>;
template class CORE_TEMPLATE_EXPORT
SelectionTemplate<EditingInFlatTreeStrategy>;

Powered by Google App Engine
This is Rietveld 408576698