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
13
namespace
v8_inspector
{
14
15
const
int
kMaxCustomPreviewDepth
= 20;
16
17
void
generateCustomPreview
(
18
v8::Isolate
* isolate,
int
sessionId,
const
String16
& groupName,
19
v8::Local<v8::Object>
object
,
v8::MaybeLocal<v8::Value>
config,
20
int
maxDepth, std::unique_ptr<protocol::Runtime::CustomPreview>* preview);
21
22
}
// namespace v8_inspector
23
24
#endif
// V8_INSPECTOR_CUSTOM_PREVIEW_H_
v8::Isolate
Definition
v8-isolate.h:274
v8::Local
Definition
v8-local-handle.h:267
v8::MaybeLocal
Definition
v8-local-handle.h:635
v8_inspector::String16
Definition
string-16.h:24
v8_inspector
Definition
debug-interface.h:25
v8_inspector::generateCustomPreview
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)
Definition
custom-preview.cc:259
v8_inspector::kMaxCustomPreviewDepth
const int kMaxCustomPreviewDepth
Definition
custom-preview.h:15
src
inspector
custom-preview.h
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0