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

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/V8ContextSnapshotExternalReferences.h

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Rebase Created 3 years, 4 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
(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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/modules/v8/BUILD.gn ('k') | third_party/WebKit/Source/bindings/modules/v8/generated.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698