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

Side by Side Diff: third_party/WebKit/Source/core/editing/EphemeralRange.h

Issue 1675163002: Rename ComposedTree to FlatTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 EphemeralRange_h 5 #ifndef EphemeralRange_h
6 #define EphemeralRange_h 6 #define EphemeralRange_h
7 7
8 #include "core/editing/Position.h" 8 #include "core/editing/Position.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 PositionTemplate<Strategy> m_startPosition; 81 PositionTemplate<Strategy> m_startPosition;
82 PositionTemplate<Strategy> m_endPosition; 82 PositionTemplate<Strategy> m_endPosition;
83 #if ENABLE(ASSERT) 83 #if ENABLE(ASSERT)
84 uint64_t m_domTreeVersion; 84 uint64_t m_domTreeVersion;
85 #endif 85 #endif
86 }; 86 };
87 87
88 extern template class CORE_EXTERN_TEMPLATE_EXPORT EphemeralRangeTemplate<Editing Strategy>; 88 extern template class CORE_EXTERN_TEMPLATE_EXPORT EphemeralRangeTemplate<Editing Strategy>;
89 using EphemeralRange = EphemeralRangeTemplate<EditingStrategy>; 89 using EphemeralRange = EphemeralRangeTemplate<EditingStrategy>;
90 90
91 extern template class CORE_EXTERN_TEMPLATE_EXPORT EphemeralRangeTemplate<Editing InComposedTreeStrategy>; 91 extern template class CORE_EXTERN_TEMPLATE_EXPORT EphemeralRangeTemplate<Editing InFlatTreeStrategy>;
92 using EphemeralRangeInComposedTree = EphemeralRangeTemplate<EditingInComposedTre eStrategy>; 92 using EphemeralRangeInFlatTree = EphemeralRangeTemplate<EditingInFlatTreeStrateg y>;
93 93
94 // Returns a newly created |Range| object from |range| or |nullptr| if 94 // Returns a newly created |Range| object from |range| or |nullptr| if
95 // |range.isNull()| returns true. 95 // |range.isNull()| returns true.
96 CORE_EXPORT PassRefPtrWillBeRawPtr<Range> createRange(const EphemeralRange& /* r ange */); 96 CORE_EXPORT PassRefPtrWillBeRawPtr<Range> createRange(const EphemeralRange& /* r ange */);
97 97
98 } // namespace blink 98 } // namespace blink
99 99
100 #endif 100 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698