Lines Matching refs:V8Proxy
32 #include "V8Proxy.h"
89 V8Extensions V8Proxy::m_extensions;
148 void V8Proxy::reportUnsafeAccessTo(Frame* target)
155 Frame* source = V8Proxy::retrieveFrameForEnteredContext();
188 V8Proxy::V8Proxy(Frame* frame)
197 V8Proxy::~V8Proxy()
203 v8::Handle<v8::Script> V8Proxy::compileScript(v8::Handle<v8::String> code, const String& fileName, const TextPosition0& scriptStartPosition, v8::ScriptData* scriptData)
214 bool V8Proxy::handleOutOfMemory()
222 Frame* frame = V8Proxy::retrieveFrame(context);
224 V8Proxy* proxy = V8Proxy::retrieve(frame);
244 void V8Proxy::evaluateInIsolatedWorld(int worldID, const Vector<ScriptSourceCode>& sources, int extensionGroup)
290 bool V8Proxy::setInjectedScriptContextDebugId(v8::Handle<v8::Context> targetContext)
309 PassOwnPtr<v8::ScriptData> V8Proxy::precompileScript(v8::Handle<v8::String> code, CachedScript* cachedScript)
331 bool V8Proxy::executingScript() const
336 v8::Local<v8::Value> V8Proxy::evaluate(const ScriptSourceCode& source, Node* node)
382 v8::Local<v8::Value> V8Proxy::runScript(v8::Handle<v8::Script> script, bool isInlineCode)
413 // See comment in V8Proxy::callFunction.
445 v8::Local<v8::Value> V8Proxy::callFunction(v8::Handle<v8::Function> function, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[])
496 v8::Local<v8::Value> V8Proxy::callFunctionWithoutFrame(v8::Handle<v8::Function> function, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[])
507 v8::Local<v8::Value> V8Proxy::newInstance(v8::Handle<v8::Function> constructor, int argc, v8::Handle<v8::Value> args[])
510 // V8Proxy::callFunction.
513 // See comment in V8Proxy::callFunction.
525 DOMWindow* V8Proxy::retrieveWindow(v8::Handle<v8::Context> context)
534 Frame* V8Proxy::retrieveFrame(v8::Handle<v8::Context> context)
546 Frame* V8Proxy::retrieveFrameForEnteredContext()
554 Frame* V8Proxy::retrieveFrameForCurrentContext()
562 Frame* V8Proxy::retrieveFrameForCallingContext()
570 V8Proxy* V8Proxy::retrieve()
577 V8Proxy* V8Proxy::retrieve(Frame* frame)
584 V8Proxy* V8Proxy::retrieve(ScriptExecutionContext* context)
591 void V8Proxy::disconnectFrame()
595 void V8Proxy::didLeaveScriptContext()
615 void V8Proxy::resetIsolatedWorlds()
624 void V8Proxy::clearForClose()
630 void V8Proxy::clearForNavigation()
636 void V8Proxy::setDOMException(int exceptionCode)
691 v8::Handle<v8::Value> V8Proxy::throwError(ErrorType type, const char* message)
710 v8::Handle<v8::Value> V8Proxy::throwTypeError()
715 v8::Handle<v8::Value> V8Proxy::throwSyntaxError()
720 v8::Local<v8::Context> V8Proxy::context(Frame* frame)
722 v8::Local<v8::Context> context = V8Proxy::mainWorldContext(frame);
728 if (frame != V8Proxy::retrieveFrame(context))
735 v8::Local<v8::Context> V8Proxy::context()
739 if (m_frame != V8Proxy::retrieveFrame(context->get()))
746 v8::Local<v8::Context> V8Proxy::mainWorldContext()
752 v8::Local<v8::Context> V8Proxy::mainWorldContext(Frame* frame)
754 V8Proxy* proxy = retrieve(frame);
761 v8::Local<v8::Context> V8Proxy::currentContext()
766 v8::Handle<v8::Value> V8Proxy::checkNewLegal(const v8::Arguments& args)
774 void V8Proxy::registerExtensionWithV8(v8::Extension* extension)
781 bool V8Proxy::registeredExtensionWithV8(v8::Extension* extension)
791 void V8Proxy::registerExtension(v8::Extension* extension)
797 bool V8Proxy::setContextDebugId(int debugId)
816 int V8Proxy::contextDebugId(v8::Handle<v8::Context> context)
831 if (V8Proxy* proxy = V8Proxy::retrieve(context))