| 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 #ifndef StaticRange_h | 5 #ifndef StaticRange_h |
| 6 #define StaticRange_h | 6 #define StaticRange_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 10 #include "core/dom/Range.h" | 9 #include "core/dom/Range.h" |
| 11 #include "core/editing/EphemeralRange.h" | 10 #include "core/editing/EphemeralRange.h" |
| 11 #include "platform/bindings/ScriptWrappable.h" |
| 12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class Document; | 16 class Document; |
| 17 class ExceptionState; | 17 class ExceptionState; |
| 18 | 18 |
| 19 class CORE_EXPORT StaticRange final : public GarbageCollected<StaticRange>, | 19 class CORE_EXPORT StaticRange final : public GarbageCollected<StaticRange>, |
| 20 public ScriptWrappable { | 20 public ScriptWrappable { |
| 21 DEFINE_WRAPPERTYPEINFO(); | 21 DEFINE_WRAPPERTYPEINFO(); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 unsigned start_offset_; | 84 unsigned start_offset_; |
| 85 Member<Node> end_container_; | 85 Member<Node> end_container_; |
| 86 unsigned end_offset_; | 86 unsigned end_offset_; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 using StaticRangeVector = HeapVector<Member<StaticRange>>; | 89 using StaticRangeVector = HeapVector<Member<StaticRange>>; |
| 90 | 90 |
| 91 } // namespace blink | 91 } // namespace blink |
| 92 | 92 |
| 93 #endif // StaticRange_h | 93 #endif // StaticRange_h |
| OLD | NEW |