| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef PositionWithAffinity_h | 5 #ifndef PositionWithAffinity_h |
| 6 #define PositionWithAffinity_h | 6 #define PositionWithAffinity_h |
| 7 | 7 |
| 8 #include <iosfwd> |
| 8 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 9 #include "core/editing/Position.h" | 10 #include "core/editing/Position.h" |
| 10 #include "core/editing/TextAffinity.h" | 11 #include "core/editing/TextAffinity.h" |
| 11 #include <iosfwd> | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 template <typename Strategy> | 15 template <typename Strategy> |
| 16 class CORE_TEMPLATE_CLASS_EXPORT PositionWithAffinityTemplate { | 16 class CORE_TEMPLATE_CLASS_EXPORT PositionWithAffinityTemplate { |
| 17 DISALLOW_NEW(); | 17 DISALLOW_NEW(); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 // TODO(yosin) We should have single parameter constructor not to use | 20 // TODO(yosin) We should have single parameter constructor not to use |
| 21 // default parameter for avoiding include "TextAffinity.h" | 21 // default parameter for avoiding include "TextAffinity.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 } | 78 } |
| 79 | 79 |
| 80 CORE_EXPORT std::ostream& operator<<(std::ostream&, | 80 CORE_EXPORT std::ostream& operator<<(std::ostream&, |
| 81 const PositionWithAffinity&); | 81 const PositionWithAffinity&); |
| 82 CORE_EXPORT std::ostream& operator<<(std::ostream&, | 82 CORE_EXPORT std::ostream& operator<<(std::ostream&, |
| 83 const PositionInFlatTreeWithAffinity&); | 83 const PositionInFlatTreeWithAffinity&); |
| 84 | 84 |
| 85 } // namespace blink | 85 } // namespace blink |
| 86 | 86 |
| 87 #endif // PositionWithAffinity_h | 87 #endif // PositionWithAffinity_h |
| OLD | NEW |