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

Unified Diff: Source/bindings/core/v8/inspector/V8InjectedScriptHost.h

Issue 1149383005: DevTools: remove InjectedScriptHost.idl, implement the binding without generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/core/v8/inspector/V8InjectedScriptHost.h
diff --git a/Source/bindings/core/v8/inspector/V8InjectedScriptHost.h b/Source/bindings/core/v8/inspector/V8InjectedScriptHost.h
new file mode 100644
index 0000000000000000000000000000000000000000..1f16662155a65c04000a8a43c707726b52cee011
--- /dev/null
+++ b/Source/bindings/core/v8/inspector/V8InjectedScriptHost.h
@@ -0,0 +1,54 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8InjectedScriptHost_h
+#define V8InjectedScriptHost_h
+
+#include "wtf/Forward.h"
+#include <v8.h>
+
+namespace blink {
+
+class InjectedScriptHost;
+
+class V8InjectedScriptHost {
+public:
+ static v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::FunctionTemplate> constructorTemplate, PassRefPtr<InjectedScriptHost>);
+ static InjectedScriptHost* toImpl(v8::Local<v8::Object>);
+ static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*);
+
+ static void clearConsoleMessagesCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void inspectedObjectCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void internalConstructorNameCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void isDOMWrapperCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void isHTMLAllCollectionCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void isTypedArrayCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void subtypeCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void functionDetailsCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void generatorObjectDetailsCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void collectionEntriesCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void getInternalPropertiesCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void getEventListenersCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void evalCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void evaluateWithExceptionDetailsCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void debugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void undebugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void monitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void unmonitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void callFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void suppressWarningsAndCallFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void setNonEnumPropertyCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void setFunctionVariableValueCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void objectForIdCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static void idToObjectGroupNameCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+
+private:
+ static v8::Local<v8::String> hiddenPropertyName(v8::Isolate*);
+};
+
+} // namespace blink
+
+#endif // V8InjectedScriptHost_h
« no previous file with comments | « Source/bindings/core/v8/custom/custom.gypi ('k') | Source/bindings/core/v8/inspector/V8InjectedScriptHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698