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

Side by Side 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, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/editing/SelectionTemplate.h" 5 #include "core/editing/SelectionTemplate.h"
6 6
7 #include "wtf/Assertions.h" 7 #include "wtf/Assertions.h"
8 #include <ostream> // NOLINT 8 #include <ostream> // NOLINT
9 9
10 namespace blink { 10 namespace blink {
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 return *this; 278 return *this;
279 } 279 }
280 280
281 template <typename Strategy> 281 template <typename Strategy>
282 typename SelectionTemplate<Strategy>::Builder& 282 typename SelectionTemplate<Strategy>::Builder&
283 SelectionTemplate<Strategy>::Builder::setIsDirectional(bool isDirectional) { 283 SelectionTemplate<Strategy>::Builder::setIsDirectional(bool isDirectional) {
284 m_selection.m_isDirectional = isDirectional; 284 m_selection.m_isDirectional = isDirectional;
285 return *this; 285 return *this;
286 } 286 }
287 287
288 template <typename Strategy>
289 typename SelectionTemplate<Strategy>::Builder&
290 SelectionTemplate<Strategy>::Builder::setIsHandleVisible(bool isHandleVisible) {
291 m_selection.m_isHandleVisible = isHandleVisible;
292 return *this;
293 }
294
288 template class CORE_TEMPLATE_EXPORT SelectionTemplate<EditingStrategy>; 295 template class CORE_TEMPLATE_EXPORT SelectionTemplate<EditingStrategy>;
289 template class CORE_TEMPLATE_EXPORT 296 template class CORE_TEMPLATE_EXPORT
290 SelectionTemplate<EditingInFlatTreeStrategy>; 297 SelectionTemplate<EditingInFlatTreeStrategy>;
291 298
292 } // namespace blink 299 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698