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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.h

Issue 1916023002: [DevTools] Move last inspected objects to V8InspectorSessionImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-part-command-line-api-to-native
Patch Set: Created 4 years, 7 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8InjectedScriptHost_h 5 #ifndef V8InjectedScriptHost_h
6 #define V8InjectedScriptHost_h 6 #define V8InjectedScriptHost_h
7 7
8 #include <v8.h> 8 #include <v8.h>
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class InjectedScriptHost; 12 class InjectedScriptHost;
13 class V8DebuggerClient; 13 class V8DebuggerClient;
14 14
15 class V8InjectedScriptHost { 15 class V8InjectedScriptHost {
16 public: 16 public:
17 static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructo rTemplate, v8::Local<v8::Context>, InjectedScriptHost*); 17 static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructo rTemplate, v8::Local<v8::Context>, InjectedScriptHost*);
18 static InjectedScriptHost* unwrap(v8::Local<v8::Context>, v8::Local<v8::Obje ct>); 18 static InjectedScriptHost* unwrap(v8::Local<v8::Context>, v8::Local<v8::Obje ct>);
19 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*); 19 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*);
20 20
21 static void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&); 21 static void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&);
22 static void inspectedObjectCallback(const v8::FunctionCallbackInfo<v8::Value >&);
23 static void internalConstructorNameCallback(const v8::FunctionCallbackInfo<v 8::Value>&); 22 static void internalConstructorNameCallback(const v8::FunctionCallbackInfo<v 8::Value>&);
24 static void formatAccessorsAsProperties(const v8::FunctionCallbackInfo<v8::V alue>&); 23 static void formatAccessorsAsProperties(const v8::FunctionCallbackInfo<v8::V alue>&);
25 static void isTypedArrayCallback(const v8::FunctionCallbackInfo<v8::Value>&) ; 24 static void isTypedArrayCallback(const v8::FunctionCallbackInfo<v8::Value>&) ;
26 static void subtypeCallback(const v8::FunctionCallbackInfo<v8::Value>&); 25 static void subtypeCallback(const v8::FunctionCallbackInfo<v8::Value>&);
27 static void generatorObjectDetailsCallback(const v8::FunctionCallbackInfo<v8 ::Value>&); 26 static void generatorObjectDetailsCallback(const v8::FunctionCallbackInfo<v8 ::Value>&);
28 static void collectionEntriesCallback(const v8::FunctionCallbackInfo<v8::Val ue>&); 27 static void collectionEntriesCallback(const v8::FunctionCallbackInfo<v8::Val ue>&);
29 static void getInternalPropertiesCallback(const v8::FunctionCallbackInfo<v8: :Value>&); 28 static void getInternalPropertiesCallback(const v8::FunctionCallbackInfo<v8: :Value>&);
30 static void getEventListenersCallback(const v8::FunctionCallbackInfo<v8::Val ue>&); 29 static void getEventListenersCallback(const v8::FunctionCallbackInfo<v8::Val ue>&);
31 static void callFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&) ; 30 static void callFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&) ;
32 static void suppressWarningsAndCallFunctionCallback(const v8::FunctionCallba ckInfo<v8::Value>&); 31 static void suppressWarningsAndCallFunctionCallback(const v8::FunctionCallba ckInfo<v8::Value>&);
33 static void setNonEnumPropertyCallback(const v8::FunctionCallbackInfo<v8::Va lue>&); 32 static void setNonEnumPropertyCallback(const v8::FunctionCallbackInfo<v8::Va lue>&);
34 static void setFunctionVariableValueCallback(const v8::FunctionCallbackInfo< v8::Value>&); 33 static void setFunctionVariableValueCallback(const v8::FunctionCallbackInfo< v8::Value>&);
35 static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&); 34 static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&);
36 }; 35 };
37 36
38 } // namespace blink 37 } // namespace blink
39 38
40 #endif // V8InjectedScriptHost_h 39 #endif // V8InjectedScriptHost_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698