OLD | NEW |
| (Empty) |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef V8ContextSnapshotExternalReferences_h | |
6 #define V8ContextSnapshotExternalReferences_h | |
7 | |
8 #include <cstdint> | |
9 | |
10 #include "modules/ModulesExport.h" | |
11 #include "platform/wtf/Allocator.h" | |
12 | |
13 namespace blink { | |
14 | |
15 // V8ContextSnapshotExternalReferences::GetTable() provides a table of pointers | |
16 // of C++ callbacks exposed to V8. The table contains C++ callbacks for DOM | |
17 // attribute getters, setters, DOM methods, wrapper type info etc. | |
18 class MODULES_EXPORT V8ContextSnapshotExternalReferences { | |
19 STATIC_ONLY(V8ContextSnapshotExternalReferences); | |
20 | |
21 public: | |
22 // The definition of this method is auto-generated in | |
23 // V8ContextSnapshotExternalReferences.cpp. | |
24 static intptr_t* GetTable(); | |
25 }; | |
26 | |
27 } // namespace blink | |
28 | |
29 #endif // V8ContextSnapshotExternalReferences_h | |
OLD | NEW |