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 WrapperVisitor_h | 5 #ifndef WrapperVisitor_h |
6 #define WrapperVisitor_h | 6 #define WrapperVisitor_h |
7 | 7 |
8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 class Value; | 12 class Value; |
13 class Object; | |
14 template <class T> | 13 template <class T> |
15 class PersistentBase; | 14 class PersistentBase; |
16 } | 15 } |
17 | 16 |
18 namespace blink { | 17 namespace blink { |
19 | 18 |
20 template <typename T> | 19 template <typename T> |
21 class TraceTrait; | 20 class TraceTrait; |
22 template <typename T> | 21 template <typename T> |
23 class Member; | 22 class Member; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 virtual void markWrappersInAllWorlds(const void*) const = 0; | 156 virtual void markWrappersInAllWorlds(const void*) const = 0; |
158 virtual void pushToMarkingDeque( | 157 virtual void pushToMarkingDeque( |
159 void (*traceWrappersCallback)(const WrapperVisitor*, const void*), | 158 void (*traceWrappersCallback)(const WrapperVisitor*, const void*), |
160 HeapObjectHeader* (*heapObjectHeaderCallback)(const void*), | 159 HeapObjectHeader* (*heapObjectHeaderCallback)(const void*), |
161 const void*) const = 0; | 160 const void*) const = 0; |
162 }; | 161 }; |
163 | 162 |
164 } // namespace blink | 163 } // namespace blink |
165 | 164 |
166 #endif // WrapperVisitor_h | 165 #endif // WrapperVisitor_h |
OLD | NEW |