v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
custom-preview.h
Go to the documentation of this file.
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 <memory>
9
10#include "src/inspector/protocol/Protocol.h"
11#include "src/inspector/protocol/Runtime.h"
12
13namespace v8_inspector {
14
16
18 v8::Isolate* isolate, int sessionId, const String16& groupName,
20 int maxDepth, std::unique_ptr<protocol::Runtime::CustomPreview>* preview);
21
22} // namespace v8_inspector
23
24#endif // V8_INSPECTOR_CUSTOM_PREVIEW_H_
void generateCustomPreview(v8::Isolate *isolate, int sessionId, const String16 &groupName, v8::Local< v8::Object > object, v8::MaybeLocal< v8::Value > maybeConfig, int maxDepth, std::unique_ptr< CustomPreview > *preview)
const int kMaxCustomPreviewDepth