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

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

Issue 1917733002: [DevTools] Move part of CommandLineAPI to native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 clearConsoleMessagesCallback(const v8::FunctionCallbackInfo<v8:: Value>&);
22 static void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&); 21 static void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&);
23 static void inspectedObjectCallback(const v8::FunctionCallbackInfo<v8::Value >&); 22 static void inspectedObjectCallback(const v8::FunctionCallbackInfo<v8::Value >&);
24 static void internalConstructorNameCallback(const v8::FunctionCallbackInfo<v 8::Value>&); 23 static void internalConstructorNameCallback(const v8::FunctionCallbackInfo<v 8::Value>&);
25 static void formatAccessorsAsProperties(const v8::FunctionCallbackInfo<v8::V alue>&); 24 static void formatAccessorsAsProperties(const v8::FunctionCallbackInfo<v8::V alue>&);
26 static void isTypedArrayCallback(const v8::FunctionCallbackInfo<v8::Value>&) ; 25 static void isTypedArrayCallback(const v8::FunctionCallbackInfo<v8::Value>&) ;
27 static void subtypeCallback(const v8::FunctionCallbackInfo<v8::Value>&); 26 static void subtypeCallback(const v8::FunctionCallbackInfo<v8::Value>&);
28 static void generatorObjectDetailsCallback(const v8::FunctionCallbackInfo<v8 ::Value>&); 27 static void generatorObjectDetailsCallback(const v8::FunctionCallbackInfo<v8 ::Value>&);
29 static void collectionEntriesCallback(const v8::FunctionCallbackInfo<v8::Val ue>&); 28 static void collectionEntriesCallback(const v8::FunctionCallbackInfo<v8::Val ue>&);
30 static void getInternalPropertiesCallback(const v8::FunctionCallbackInfo<v8: :Value>&); 29 static void getInternalPropertiesCallback(const v8::FunctionCallbackInfo<v8: :Value>&);
31 static void getEventListenersCallback(const v8::FunctionCallbackInfo<v8::Val ue>&); 30 static void getEventListenersCallback(const v8::FunctionCallbackInfo<v8::Val ue>&);
32 static void debugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>& );
33 static void undebugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value >&);
34 static void monitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value >&);
35 static void unmonitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Val ue>&);
36 static void callFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&) ; 31 static void callFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&) ;
37 static void suppressWarningsAndCallFunctionCallback(const v8::FunctionCallba ckInfo<v8::Value>&); 32 static void suppressWarningsAndCallFunctionCallback(const v8::FunctionCallba ckInfo<v8::Value>&);
38 static void setNonEnumPropertyCallback(const v8::FunctionCallbackInfo<v8::Va lue>&); 33 static void setNonEnumPropertyCallback(const v8::FunctionCallbackInfo<v8::Va lue>&);
39 static void setFunctionVariableValueCallback(const v8::FunctionCallbackInfo< v8::Value>&); 34 static void setFunctionVariableValueCallback(const v8::FunctionCallbackInfo< v8::Value>&);
40 static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&); 35 static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&);
41 }; 36 };
42 37
43 } // namespace blink 38 } // namespace blink
44 39
45 #endif // V8InjectedScriptHost_h 40 #endif // V8InjectedScriptHost_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698