| 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" | |
| 8 #include <ostream> // NOLINT | 7 #include <ostream> // NOLINT |
| 8 #include "platform/wtf/Assertions.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 template <typename Strategy> | 12 template <typename Strategy> |
| 13 SelectionTemplate<Strategy>::SelectionTemplate(const SelectionTemplate& other) | 13 SelectionTemplate<Strategy>::SelectionTemplate(const SelectionTemplate& other) |
| 14 : base_(other.base_), | 14 : base_(other.base_), |
| 15 extent_(other.extent_), | 15 extent_(other.extent_), |
| 16 affinity_(other.affinity_), | 16 affinity_(other.affinity_), |
| 17 granularity_(other.granularity_), | 17 granularity_(other.granularity_), |
| 18 has_trailing_whitespace_(other.has_trailing_whitespace_), | 18 has_trailing_whitespace_(other.has_trailing_whitespace_), |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 bool is_handle_visible) { | 324 bool is_handle_visible) { |
| 325 selection_.is_handle_visible_ = is_handle_visible; | 325 selection_.is_handle_visible_ = is_handle_visible; |
| 326 return *this; | 326 return *this; |
| 327 } | 327 } |
| 328 | 328 |
| 329 template class CORE_TEMPLATE_EXPORT SelectionTemplate<EditingStrategy>; | 329 template class CORE_TEMPLATE_EXPORT SelectionTemplate<EditingStrategy>; |
| 330 template class CORE_TEMPLATE_EXPORT | 330 template class CORE_TEMPLATE_EXPORT |
| 331 SelectionTemplate<EditingInFlatTreeStrategy>; | 331 SelectionTemplate<EditingInFlatTreeStrategy>; |
| 332 | 332 |
| 333 } // namespace blink | 333 } // namespace blink |
| OLD | NEW |