/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
D | ScriptObject.cpp | 43 ScriptObject::ScriptObject(ScriptState* scriptState, v8::Handle<v8::Object> v8Object) in ScriptObject() argument 44 : ScriptValue(v8Object, scriptState->isolate()) in ScriptObject() 45 , m_scriptState(scriptState) in ScriptObject() 49 ScriptObject::ScriptObject(ScriptState* scriptState, const ScriptValue& scriptValue) in ScriptObject() argument 51 , m_scriptState(scriptState) in ScriptObject() 61 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InspectorFrontendHost* val… in set() argument 63 ScriptScope scope(scriptState); in set() 64 …scope.global()->Set(v8AtomicString(scriptState->isolate(), name), toV8(value, v8::Handle<v8::Objec… in set() 68 bool ScriptGlobalObject::get(ScriptState* scriptState, const char* name, ScriptObject& value) in get() argument 70 ScriptScope scope(scriptState); in get() [all …]
|
D | ScriptState.h | 109 ScriptStateProtectedPtr(ScriptState* scriptState) in ScriptStateProtectedPtr() argument 110 : m_scriptState(scriptState) in ScriptStateProtectedPtr() 112 v8::HandleScope handleScope(scriptState->isolate()); in ScriptStateProtectedPtr() 114 m_context.set(scriptState->isolate(), scriptState->context()); in ScriptStateProtectedPtr()
|
D | ScriptScope.cpp | 41 ScriptScope::ScriptScope(ScriptState* scriptState, bool reportExceptions) in ScriptScope() argument 42 : m_handleScope(scriptState->isolate()) in ScriptScope() 43 , m_context(scriptState->context()) in ScriptScope()
|
D | ScriptState.cpp | 75 …scriptStateWrapper = innerGlobal->GetHiddenValue(V8HiddenPropertyName::scriptState(context->GetIso… in forContext() 79 ScriptState* scriptState = new ScriptState(context); in forContext() local 80 …ddenValue(V8HiddenPropertyName::scriptState(context->GetIsolate()), v8::External::New(context->Get… in forContext() 81 return scriptState; in forContext()
|
D | ScriptValue.cpp | 121 PassRefPtr<JSONValue> ScriptValue::toJSONValue(ScriptState* scriptState) const in toJSONValue() 123 v8::HandleScope handleScope(scriptState->isolate()); in toJSONValue() 125 v8::Context::Scope contextScope(scriptState->context()); in toJSONValue() 126 return v8ToJSONValue(v8Value(), JSONValue::maxDepth, scriptState->isolate()); in toJSONValue()
|
D | ScriptFunctionCall.h | 45 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { } in ScriptCallArgumentHandler() argument
|
D | ScriptScope.h | 41 ScriptScope(ScriptState* scriptState, bool reportExceptions = true);
|
D | ScriptObject.h | 51 ScriptState* scriptState() const { return m_scriptState; } in scriptState() function
|
D | V8HiddenPropertyName.h | 58 V(scriptState) \
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InjectedScriptBase.cpp | 67 return m_inspectedStateAccessCheck(m_injectedScriptObject.scriptState()); in canAccessInspectedWindow() 77 ExecutionContext* executionContext = m_injectedScriptObject.scriptState()->executionContext(); in callFunctionWithEvalEnabled() 80 ScriptState* scriptState = m_injectedScriptObject.scriptState(); in callFunctionWithEvalEnabled() local 82 if (scriptState) { in callFunctionWithEvalEnabled() 83 evalIsDisabled = !scriptState->evalEnabled(); in callFunctionWithEvalEnabled() 86 scriptState->setEvalEnabled(true); in callFunctionWithEvalEnabled() 92 scriptState->setEvalEnabled(false); in callFunctionWithEvalEnabled() 110 *result = resultValue.toJSONValue(m_injectedScriptObject.scriptState()); in makeCall()
|
D | PageRuntimeAgent.cpp | 123 ScriptState* scriptState = mainWorldScriptState(frame); in didClearWindowObjectInWorld() local 124 notifyContextCreated(frameId, scriptState, 0, true); in didClearWindowObjectInWorld() 127 void PageRuntimeAgent::didCreateIsolatedContext(Frame* frame, ScriptState* scriptState, SecurityOri… in didCreateIsolatedContext() argument 133 notifyContextCreated(frameId, scriptState, origin, false); in didCreateIsolatedContext() 139 ScriptState* scriptState = mainWorldScriptState(m_inspectedPage->mainFrame()); in injectedScriptForEval() local 140 InjectedScript result = injectedScriptManager()->injectedScriptFor(scriptState); in injectedScriptForEval() 169 ScriptState* scriptState = mainWorldScriptState(frame); in reportExecutionContextCreation() local 170 notifyContextCreated(frameId, scriptState, 0, true); in reportExecutionContextCreation() 180 void PageRuntimeAgent::notifyContextCreated(const String& frameId, ScriptState* scriptState, Securi… in notifyContextCreated() argument 183 int executionContextId = injectedScriptManager()->injectedScriptIdFor(scriptState); in notifyContextCreated()
|
D | InjectedScriptManager.cpp | 88 int InjectedScriptManager::injectedScriptIdFor(ScriptState* scriptState) in injectedScriptIdFor() argument 90 ScriptStateToId::iterator it = m_scriptStateToId.find(scriptState); in injectedScriptIdFor() 94 m_scriptStateToId.set(scriptState, id); in injectedScriptIdFor() 124 ScriptState* scriptState = it->value.scriptState(); in discardInjectedScriptsFor() local 125 if (window != scriptState->domWindow()) in discardInjectedScriptsFor() 127 m_scriptStateToId.remove(scriptState); in discardInjectedScriptsFor() 137 ScriptState* scriptState = it->key; in discardInjectedScriptsFor() local 138 if (window == scriptState->domWindow()) in discardInjectedScriptsFor() 139 scriptStatesToRemove.append(scriptState); in discardInjectedScriptsFor()
|
D | InjectedScriptModule.cpp | 47 …criptModule::ensureInjected(InjectedScriptManager* injectedScriptManager, ScriptState* scriptState) in ensureInjected() argument 49 InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(scriptState); in ensureInjected() 60 ScriptScope scope(scriptState); in ensureInjected() 72 ScriptObject moduleObject(scriptState, resultValue); in ensureInjected()
|
D | ScriptArguments.cpp | 39 PassRefPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& … in create() argument 41 return adoptRef(new ScriptArguments(scriptState, arguments)); in create() 44 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments) in ScriptArguments() argument 45 : m_scriptState(scriptState) in ScriptArguments()
|
D | InspectorCanvasAgent.cpp | 212 ScriptState* scriptState = wrappedContext.scriptState(); in notifyRenderingContextWasWrapped() local 214 if (scriptState) in notifyRenderingContextWasWrapped() 215 domWindow = scriptState->domWindow(); in notifyRenderingContextWasWrapped() 225 …nspectorCanvasAgent::injectedScriptCanvasModule(ErrorString* errorString, ScriptState* scriptState) in injectedScriptCanvasModule() argument 229 …asModule module = InjectedScriptCanvasModule::moduleForState(m_injectedScriptManager, scriptState); in injectedScriptCanvasModule() 246 return injectedScriptCanvasModule(errorString, scriptObject.scriptState()); in injectedScriptCanvasModule() 258 return injectedScriptCanvasModule(errorString, injectedScript.scriptState()); in injectedScriptCanvasModule()
|
D | InjectedScriptBase.h | 52 ScriptState* scriptState() const { return m_injectedScriptObject.scriptState(); } in scriptState() function
|
D | WorkerRuntimeAgent.cpp | 64 ScriptState* scriptState = scriptStateFromWorkerGlobalScope(m_workerGlobalScope); in injectedScriptForEval() local 65 return injectedScriptManager()->injectedScriptFor(scriptState); in injectedScriptForEval()
|
D | WorkerDebuggerAgent.cpp | 131 ScriptState* scriptState = scriptStateFromWorkerGlobalScope(m_inspectedWorkerGlobalScope); in injectedScriptForEval() local 132 return injectedScriptManager()->injectedScriptFor(scriptState); in injectedScriptForEval()
|
D | InjectedScriptCanvasModule.cpp | 52 …anvasModule::moduleForState(InjectedScriptManager* injectedScriptManager, ScriptState* scriptState) in moduleForState() argument 55 result.ensureInjected(injectedScriptManager, scriptState); in moduleForState() 84 return ScriptObject(context.scriptState(), resultValue); in callWrapContextFunction()
|
D | PageDebuggerAgent.cpp | 117 ScriptState* scriptState = mainWorldScriptState(m_pageAgent->mainFrame()); in injectedScriptForEval() local 118 return injectedScriptManager()->injectedScriptFor(scriptState); in injectedScriptForEval()
|
D | InjectedScript.cpp | 242 RefPtr<JSONValue> result = callFramesValue.toJSONValue(scriptState()); in wrapCallFrames() 260 RefPtr<JSONObject> rawResult = r.toJSONValue(scriptState())->asObject(); in wrapObject() 278 RefPtr<JSONObject> rawResult = r.toJSONValue(scriptState())->asObject(); in wrapTable() 335 return InjectedScriptHost::nodeAsScriptValue(scriptState(), node); in nodeAsScriptValue()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
D | htmlembedded.js | 14 return scriptingMode.token(stream, state.scriptState); 27 return scriptingMode.token(stream, state.scriptState); 38 scriptState : CodeMirror.startState(scriptingMode) 50 return scriptingMode.indent(state.scriptState, textAfter); 57 scriptState : CodeMirror.copyState(scriptingMode, state.scriptState) 64 if (state.token == scriptingDispatch) return {state: state.scriptState, mode: scriptingMode};
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
D | V8HTMLCanvasElementCustom.cpp | 104 ScriptState* scriptState = ScriptState::forContext(isolate->GetCurrentContext()); in getContextMethodCustom() local 105 ScriptObject context(scriptState, v8::Handle<v8::Object>::Cast(v8Result)); in getContextMethodCustom() 118 ScriptState* scriptState = ScriptState::forContext(isolate->GetCurrentContext()); in getContextMethodCustom() local 119 ScriptObject glContext(scriptState, v8::Handle<v8::Object>::Cast(v8Result)); in getContextMethodCustom()
|
D | V8InjectedScriptManager.cpp | 107 bool InjectedScriptManager::canAccessInspectedWindow(ScriptState* scriptState) in canAccessInspectedWindow() argument 109 v8::HandleScope handleScope(scriptState->isolate()); in canAccessInspectedWindow() 110 v8::Local<v8::Context> context = scriptState->context(); in canAccessInspectedWindow()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | MediaQueryMatcher.cpp | 143 ScriptState* scriptState = m_document->frame() ? mainWorldScriptState(m_document->frame()) : 0; in styleResolverChanged() local 144 if (!scriptState) in styleResolverChanged() 153 m_listeners[i]->evaluate(scriptState, evaluator.get()); in styleResolverChanged()
|