HomeSort by relevance Sort by last modified time
    Searched refs:scriptState (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ScriptObject.cpp 35 #include "bindings/v8/ScriptState.h"
43 ScriptObject::ScriptObject(ScriptState* scriptState, v8::Handle<v8::Object> v8Object)
44 : ScriptValue(v8Object, scriptState->isolate())
45 , m_scriptState(scriptState)
49 ScriptObject::ScriptObject(ScriptState* scriptState, const ScriptValue& scriptValue)
51 , m_scriptState(scriptState)
61 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InspectorFrontendHost* value
    [all...]
ScriptScope.cpp 34 #include "bindings/v8/ScriptState.h"
41 ScriptScope::ScriptScope(ScriptState* scriptState, bool reportExceptions)
42 : m_handleScope(scriptState->isolate())
43 , m_context(scriptState->context())
ScriptState.h 47 class ScriptState {
48 WTF_MAKE_NONCOPYABLE(ScriptState);
73 static ScriptState* forContext(v8::Handle<v8::Context>);
74 static ScriptState* current();
77 ScriptState()
82 ~ScriptState();
85 friend ScriptState* mainWorldScriptState(Frame*);
86 explicit ScriptState(v8::Handle<v8::Context>);
88 static void setWeakCallback(const v8::WeakCallbackData<v8::Context, ScriptState>&);
95 class EmptyScriptState : public ScriptState {
    [all...]
ScriptFunctionCall.h 41 class ScriptState;
45 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { }
59 ScriptState* m_scriptState;
77 ScriptCallback(ScriptState*, const ScriptValue&);
82 ScriptState* m_scriptState;
ScriptScope.h 37 class ScriptState;
41 ScriptScope(ScriptState* scriptState, bool reportExceptions = true);
ScriptState.cpp 32 #include "bindings/v8/ScriptState.h"
46 ScriptState::ScriptState(v8::Handle<v8::Context> context)
53 ScriptState::~ScriptState()
57 DOMWindow* ScriptState::domWindow() const
63 ExecutionContext* ScriptState::executionContext() const
69 ScriptState* ScriptState::forContext(v8::Handle<v8::Context> context)
75 v8::Local<v8::Value> scriptStateWrapper = innerGlobal->GetHiddenValue(V8HiddenPropertyName::scriptState(context->GetIsolate()))
    [all...]
ScriptObject.h 41 class ScriptState;
45 ScriptObject(ScriptState*, v8::Handle<v8::Object>);
46 ScriptObject(ScriptState*, const ScriptValue&);
51 ScriptState* scriptState() const { return m_scriptState; }
53 ScriptState* m_scriptState;
58 static bool set(ScriptState*, const char* name, InspectorFrontendHost*);
59 static bool get(ScriptState*, const char* name, ScriptObject&);
ScriptValue.cpp 35 #include "bindings/v8/ScriptState.h"
121 PassRefPtr<JSONValue> ScriptValue::toJSONValue(ScriptState* scriptState) const
123 v8::HandleScope handleScope(scriptState->isolate());
125 v8::Context::Scope contextScope(scriptState->context());
126 return v8ToJSONValue(v8Value(), JSONValue::maxDepth, scriptState->isolate());
V8HiddenPropertyName.h 58 V(scriptState) \
ScriptFunctionCall.cpp 36 #include "bindings/v8/ScriptState.h"
49 if (argument.scriptState() != m_scriptState) {
117 : ScriptCallArgumentHandler(thisObject.scriptState())
185 ScriptCallback::ScriptCallback(ScriptState* state, const ScriptValue& function)
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InjectedScriptModule.cpp 47 void InjectedScriptModule::ensureInjected(InjectedScriptManager* injectedScriptManager, ScriptState* scriptState)
49 InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(scriptState);
60 ScriptScope scope(scriptState);
72 ScriptObject moduleObject(scriptState, resultValue);
InjectedScriptBase.cpp 37 #include "bindings/v8/ScriptState.h"
67 return m_inspectedStateAccessCheck(m_injectedScriptObject.scriptState());
77 ExecutionContext* executionContext = m_injectedScriptObject.scriptState()->executionContext();
80 ScriptState* scriptState = m_injectedScriptObject.scriptState();
82 if (scriptState) {
83 evalIsDisabled = !scriptState->evalEnabled();
86 scriptState->setEvalEnabled(true);
92 scriptState->setEvalEnabled(false)
    [all...]
ScriptArguments.cpp 39 PassRefPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& arguments)
41 return adoptRef(new ScriptArguments(scriptState, arguments));
44 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments)
45 : m_scriptState(scriptState)
60 ScriptState* ScriptArguments::globalState() const
InjectedScriptManager.cpp 88 int InjectedScriptManager::injectedScriptIdFor(ScriptState* scriptState)
90 ScriptStateToId::iterator it = m_scriptStateToId.find(scriptState);
94 m_scriptStateToId.set(scriptState, id);
124 ScriptState* scriptState = it->value.scriptState();
125 if (window != scriptState->domWindow())
127 m_scriptStateToId.remove(scriptState);
135 Vector<ScriptState*> scriptStatesToRemove
    [all...]
PageRuntimeAgent.cpp 123 ScriptState* scriptState = mainWorldScriptState(frame);
124 notifyContextCreated(frameId, scriptState, 0, true);
127 void PageRuntimeAgent::didCreateIsolatedContext(Frame* frame, ScriptState* scriptState, SecurityOrigin* origin)
133 notifyContextCreated(frameId, scriptState, origin, false);
139 ScriptState* scriptState = mainWorldScriptState(m_inspectedPage->mainFrame());
140 InjectedScript result = injectedScriptManager()->injectedScriptFor(scriptState);
163 Vector<std::pair<ScriptState*, SecurityOrigin*> > isolatedContexts
    [all...]
InjectedScriptBase.h 52 ScriptState* scriptState() const { return m_injectedScriptObject.scriptState(); }
55 typedef bool (*InspectedStateAccessCheck)(ScriptState*);
WorkerRuntimeAgent.cpp 35 #include "bindings/v8/ScriptState.h"
64 ScriptState* scriptState = scriptStateFromWorkerGlobalScope(m_workerGlobalScope);
65 return injectedScriptManager()->injectedScriptFor(scriptState);
InspectorCanvasAgent.cpp 212 ScriptState* scriptState = wrappedContext.scriptState();
214 if (scriptState)
215 domWindow = scriptState->domWindow();
225 InjectedScriptCanvasModule InspectorCanvasAgent::injectedScriptCanvasModule(ErrorString* errorString, ScriptState* scriptState)
229 InjectedScriptCanvasModule module = InjectedScriptCanvasModule::moduleForState(m_injectedScriptManager, scriptState);
246 return injectedScriptCanvasModule(errorString, scriptObject.scriptState());
258 return injectedScriptCanvasModule(errorString, injectedScript.scriptState());
    [all...]
WorkerDebuggerAgent.cpp 131 ScriptState* scriptState = scriptStateFromWorkerGlobalScope(m_inspectedWorkerGlobalScope);
132 return injectedScriptManager()->injectedScriptFor(scriptState);
PageDebuggerAgent.cpp 117 ScriptState* scriptState = mainWorldScriptState(m_pageAgent->mainFrame());
118 return injectedScriptManager()->injectedScriptFor(scriptState);
InjectedScriptCanvasModule.cpp 52 InjectedScriptCanvasModule InjectedScriptCanvasModule::moduleForState(InjectedScriptManager* injectedScriptManager, ScriptState* scriptState)
55 result.ensureInjected(injectedScriptManager, scriptState);
84 return ScriptObject(context.scriptState(), resultValue);
InjectedScript.cpp 242 RefPtr<JSONValue> result = callFramesValue.toJSONValue(scriptState());
260 RefPtr<JSONObject> rawResult = r.toJSONValue(scriptState())->asObject();
278 RefPtr<JSONObject> rawResult = r.toJSONValue(scriptState())->asObject();
335 return InjectedScriptHost::nodeAsScriptValue(scriptState(), node);
  /external/chromium_org/third_party/WebKit/Source/core/css/
MediaQueryMatcher.cpp 44 void MediaQueryMatcher::Listener::evaluate(ScriptState* state, MediaQueryEvaluator* evaluator)
143 ScriptState* scriptState = m_document->frame() ? mainWorldScriptState(m_document->frame()) : 0;
144 if (!scriptState)
153 m_listeners[i]->evaluate(scriptState, evaluator.get());
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8InjectedScriptManager.cpp 76 ScriptObject InjectedScriptManager::createInjectedScript(const String& scriptSource, ScriptState* inspectedScriptState, int id)
107 bool InjectedScriptManager::canAccessInspectedWindow(ScriptState* scriptState)
109 v8::HandleScope handleScope(scriptState->isolate());
110 v8::Local<v8::Context> context = scriptState->context();
V8HTMLCanvasElementCustom.cpp 39 #include "bindings/v8/ScriptState.h"
104 ScriptState* scriptState = ScriptState::forContext(isolate->GetCurrentContext());
105 ScriptObject context(scriptState, v8::Handle<v8::Object>::Cast(v8Result));
118 ScriptState* scriptState = ScriptState::forContext(isolate->GetCurrentContext());
119 ScriptObject glContext(scriptState, v8::Handle<v8::Object>::Cast(v8Result));

Completed in 253 milliseconds

1 2