V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
custom-preview.h
1 // Copyright 2018 the V8 project 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 V8_INSPECTOR_CUSTOM_PREVIEW_H_
6 #define V8_INSPECTOR_CUSTOM_PREVIEW_H_
7 
8 #include "src/inspector/protocol/Protocol.h"
9 #include "src/inspector/protocol/Runtime.h"
10 
11 namespace v8_inspector {
12 
13 const int kMaxCustomPreviewDepth = 20;
14 
15 void generateCustomPreview(
16  int sessionId, const String16& groupName, v8::Local<v8::Context> context,
18  int maxDepth, std::unique_ptr<protocol::Runtime::CustomPreview>* preview);
19 
20 } // namespace v8_inspector
21 
22 #endif // V8_INSPECTOR_CUSTOM_PREVIEW_H_