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 <ostream> // NOLINT |
7 #include "wtf/Assertions.h" | 8 #include "wtf/Assertions.h" |
8 #include <ostream> // NOLINT | |
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 : m_base(other.m_base), | 14 : m_base(other.m_base), |
15 m_extent(other.m_extent), | 15 m_extent(other.m_extent), |
16 m_affinity(other.m_affinity), | 16 m_affinity(other.m_affinity), |
17 m_granularity(other.m_granularity), | 17 m_granularity(other.m_granularity), |
18 m_hasTrailingWhitespace(other.m_hasTrailingWhitespace), | 18 m_hasTrailingWhitespace(other.m_hasTrailingWhitespace), |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 SelectionTemplate<Strategy>::Builder::setIsHandleVisible(bool isHandleVisible) { | 298 SelectionTemplate<Strategy>::Builder::setIsHandleVisible(bool isHandleVisible) { |
299 m_selection.m_isHandleVisible = isHandleVisible; | 299 m_selection.m_isHandleVisible = isHandleVisible; |
300 return *this; | 300 return *this; |
301 } | 301 } |
302 | 302 |
303 template class CORE_TEMPLATE_EXPORT SelectionTemplate<EditingStrategy>; | 303 template class CORE_TEMPLATE_EXPORT SelectionTemplate<EditingStrategy>; |
304 template class CORE_TEMPLATE_EXPORT | 304 template class CORE_TEMPLATE_EXPORT |
305 SelectionTemplate<EditingInFlatTreeStrategy>; | 305 SelectionTemplate<EditingInFlatTreeStrategy>; |
306 | 306 |
307 } // namespace blink | 307 } // namespace blink |
OLD | NEW |