| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |