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

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

Issue 1315543002: Introduce createRange(const EphemeralRange&) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-24T22:18:16 Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/core/editing/EphemeralRange.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 uint64_t m_domTreeVersion; 80 uint64_t m_domTreeVersion;
81 #endif 81 #endif
82 }; 82 };
83 83
84 extern template class CORE_EXTERN_TEMPLATE_EXPORT EphemeralRangeTemplate<Editing Strategy>; 84 extern template class CORE_EXTERN_TEMPLATE_EXPORT EphemeralRangeTemplate<Editing Strategy>;
85 using EphemeralRange = EphemeralRangeTemplate<EditingStrategy>; 85 using EphemeralRange = EphemeralRangeTemplate<EditingStrategy>;
86 86
87 extern template class CORE_EXTERN_TEMPLATE_EXPORT EphemeralRangeTemplate<Editing InComposedTreeStrategy>; 87 extern template class CORE_EXTERN_TEMPLATE_EXPORT EphemeralRangeTemplate<Editing InComposedTreeStrategy>;
88 using EphemeralRangeInComposedTree = EphemeralRangeTemplate<EditingInComposedTre eStrategy>; 88 using EphemeralRangeInComposedTree = EphemeralRangeTemplate<EditingInComposedTre eStrategy>;
89 89
90 // Returns a newly created |Range| object from |range| or |nullptr| if
91 // |range.isNull()| returns true.
92 CORE_EXPORT PassRefPtrWillBeRawPtr<Range> createRange(const EphemeralRange& /* r ange */);
93
90 } // namespace blink 94 } // namespace blink
91 95
92 #endif 96 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/editing/EphemeralRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698