Index: Source/bindings/v8/V8ScriptRunner.h |
diff --git a/Source/bindings/v8/V8ScriptRunner.h b/Source/bindings/v8/V8ScriptRunner.h |
index 2cb4090a393e284715a6b448cba61b8f1a3176b9..adf19d3363e770a5dfd0de7d2c5fd028f449c578 100644 |
--- a/Source/bindings/v8/V8ScriptRunner.h |
+++ b/Source/bindings/v8/V8ScriptRunner.h |
@@ -35,6 +35,7 @@ namespace WebCore { |
class CachedScript; |
class ScriptExecutionContext; |
+class WrapperTypeInfo; |
class V8ScriptRunner { |
public: |
@@ -44,6 +45,7 @@ public: |
static v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String&, const TextPosition&, v8::ScriptData*, v8::Isolate*); |
static v8::Local<v8::Value> runCompiledScript(v8::Handle<v8::Script>, ScriptExecutionContext*); |
static v8::Local<v8::Value> compileAndRunInternalScript(v8::Handle<v8::String>, v8::Isolate*, const String& = String(), const TextPosition& = TextPosition(), v8::ScriptData* = 0); |
+ static v8::Local<v8::Function> blinkJSConstructor(const char* name, WrapperTypeInfo*, const String& source, int argc, v8::Handle<v8::Value> argv[], v8::Handle<v8::Context>, v8::Isolate*); |
static v8::Local<v8::Value> callInternalFunction(v8::Handle<v8::Function>, v8::Handle<v8::Object>, int argc, v8::Handle<v8::Value> args[], v8::Isolate*); |
static v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, ScriptExecutionContext*, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[]); |
static v8::Local<v8::Value> callAsFunction(v8::Handle<v8::Object>, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[]); |
@@ -51,7 +53,9 @@ public: |
static v8::Local<v8::Object> instantiateObject(v8::Handle<v8::ObjectTemplate>); |
static v8::Local<v8::Object> instantiateObject(v8::Handle<v8::Function>, int argc = 0, v8::Handle<v8::Value> argv[] = 0); |
static v8::Local<v8::Object> instantiateObjectInDocument(v8::Handle<v8::Function>, ScriptExecutionContext*, int argc = 0, v8::Handle<v8::Value> argv[] = 0); |
- |
+ static v8::Local<v8::Value> callUnwrappedMethod(const char* name, const v8::FunctionCallbackInfo<v8::Value>& args, v8::Handle<v8::Value> prototype); |
+ static v8::Local<v8::Value> callUnwrappedMethod(const char* name, v8::Handle<v8::Object> thisObject, int argc, v8::Handle<v8::Value> argv[], v8::Isolate*, v8::Handle<v8::Value> prototype); |
+ static v8::Local<v8::Value> callStaticMethod(const char* name, const v8::FunctionCallbackInfo<v8::Value>& args, v8::Handle<v8::Value> constructor); |
}; |
} // namespace WebCore |