/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/ |
D | V8TestCallbackInterface.cpp | 23 , m_scriptState(scriptState) in V8TestCallbackInterface() 37 if (m_scriptState->contextIsValid()) in voidMethod() 40 ScriptState::Scope scope(m_scriptState.get()); in voidMethod() 43 …ction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptSt… in voidMethod() 51 if (m_scriptState->contextIsValid()) in booleanMethod() 54 ScriptState::Scope scope(m_scriptState.get()); in booleanMethod() 59 …ction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptSt… in booleanMethod() 68 if (m_scriptState->contextIsValid()) in voidMethodBooleanArg() 71 ScriptState::Scope scope(m_scriptState.get()); in voidMethodBooleanArg() 72 v8::Handle<v8::Value> boolArgHandle = v8Boolean(boolArg, m_scriptState->isolate()); in voidMethodBooleanArg() [all …]
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
D | ScriptFunctionCall.cpp | 47 if (argument.scriptState() != m_scriptState) { in appendArgument() 56 v8::Isolate* isolate = m_scriptState->isolate(); in appendArgument() 57 ScriptState::Scope scope(m_scriptState.get()); in appendArgument() 58 m_arguments.append(ScriptValue(m_scriptState.get(), v8String(isolate, argument))); in appendArgument() 63 v8::Isolate* isolate = m_scriptState->isolate(); in appendArgument() 64 ScriptState::Scope scope(m_scriptState.get()); in appendArgument() 65 m_arguments.append(ScriptValue(m_scriptState.get(), v8String(isolate, argument))); in appendArgument() 70 v8::Isolate* isolate = m_scriptState->isolate(); in appendArgument() 71 ScriptState::Scope scope(m_scriptState.get()); in appendArgument() 72 m_arguments.append(ScriptValue(m_scriptState.get(), v8::Number::New(isolate, argument))); in appendArgument() [all …]
|
D | ScheduledAction.cpp | 50 : m_scriptState(scriptState) in ScheduledAction() 61 : m_scriptState(scriptState) in ScheduledAction() 92 if (m_scriptState->contextIsValid()) { in execute() 98 ScriptState::Scope scope(m_scriptState.get()); in execute() 103 …frame->script().callFunction(m_function.newLocal(m_scriptState->isolate()), m_scriptState->context… in execute() 106 … frame->script().executeScriptAndReturnValue(m_scriptState->context(), ScriptSourceCode(m_code)); in execute() 115 ASSERT(!m_scriptState->contextIsValid()); in execute() 117 ScriptState::Scope scope(m_scriptState.get()); in execute() 120 …(m_function.newLocal(m_scriptState->isolate()), worker, m_scriptState->context()->Global(), info.s… in execute()
|
D | ScriptValue.h | 50 : m_scriptState(scriptState) in ScriptValue() 53 ASSERT(isEmpty() || m_scriptState); in ScriptValue() 57 : m_scriptState(value.m_scriptState) in ScriptValue() 60 ASSERT(isEmpty() || m_scriptState); in ScriptValue() 65 return m_scriptState.get(); in scriptState() 70 return m_scriptState ? m_scriptState->isolate() : v8::Isolate::GetCurrent(); in isolate() 76 m_scriptState = value.m_scriptState; 145 RefPtr<ScriptState> m_scriptState;
|
D | V8CustomElementLifecycleCallbacks.cpp | 96 , m_scriptState(scriptState) in V8CustomElementLifecycleCallbacks() 118 v8::Handle<v8::Context> context = m_scriptState->context(); in creationContextData() 130 v8::HandleScope handleScope(m_scriptState->isolate()); in ~V8CustomElementLifecycleCallbacks() 161 if (m_scriptState->contextIsValid()) in created() 163 ScriptState::Scope scope(m_scriptState.get()); in created() 164 v8::Isolate* isolate = m_scriptState->isolate(); in created() 165 v8::Handle<v8::Context> context = m_scriptState->context(); in created() 166 …v8::Handle<v8::Object> receiver = m_scriptState->world().domDataStore().get<V8Element>(element, is… in created() 211 if (m_scriptState->contextIsValid()) in attributeChanged() 213 ScriptState::Scope scope(m_scriptState.get()); in attributeChanged() [all …]
|
D | CustomElementConstructorBuilder.cpp | 58 : m_scriptState(scriptState) in CustomElementConstructorBuilder() 61 ASSERT(m_scriptState->context() == m_scriptState->isolate()->GetCurrentContext()); in CustomElementConstructorBuilder() 66 return m_scriptState->world().isMainWorld(); in isFeatureAllowed() 85 m_prototype = v8::Object::New(m_scriptState->isolate()); in validateOptions() 86 …v8::Local<v8::Object> basePrototype = m_scriptState->perContextData()->prototypeForType(&V8HTMLEle… in validateOptions() 104 if (!m_scriptState->perContextData()) { in validateOptions() 153 v8::Isolate* isolate = m_scriptState->isolate(); in createCallbacks() 159 …m_callbacks = V8CustomElementLifecycleCallbacks::create(m_scriptState.get(), m_prototype, created,… in createCallbacks() 177 v8::Isolate* isolate = m_scriptState->isolate(); in createConstructor() 201 …ructor, V8HiddenValue::customElementDocument(isolate), toV8(document, m_scriptState->context()->Gl… in createConstructor() [all …]
|
D | WorkerScriptController.h | 80 ScriptState* scriptState() { return m_scriptState.get(); } in scriptState() 83 …v8::Local<v8::Context> context() { return m_scriptState ? m_scriptState->context() : v8::Local<v8:… in context() 88 bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); } in isContextInitialized() 95 RefPtr<ScriptState> m_scriptState; variable
|
D | ScriptPreprocessor.cpp | 51 m_scriptState = ScriptState::from(toV8Context(frame, *world)); in ScriptPreprocessor() 53 v8::HandleScope handleScope(m_scriptState->isolate()); in ScriptPreprocessor() 72 …m_preprocessorFunction.set(m_scriptState->isolate(), v8::Handle<v8::Function>::Cast(preprocessorFu… in ScriptPreprocessor() 80 return preprocessSourceCode(sourceCode, sourceName, v8::Undefined(m_scriptState->isolate())); in preprocessSourceCode() 88 v8::Handle<v8::String> functionNameString = v8String(m_scriptState->isolate(), functionName); in preprocessSourceCode() 97 v8::Isolate* isolate = m_scriptState->isolate(); in preprocessSourceCode() 98 ScriptState::Scope scope(m_scriptState.get()); in preprocessSourceCode() 107 …er::callAsFunction(isolate, m_preprocessorFunction.newLocal(isolate), m_scriptState->context()->Gl… in preprocessSourceCode()
|
D | WindowProxy.h | 60 …v8::Local<v8::Context> context() const { return m_scriptState ? m_scriptState->context() : v8::Loc… in context() 61 ScriptState* scriptState() const { return m_scriptState.get(); } in scriptState() 73 bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); } in isContextInitialized() 113 RefPtr<ScriptState> m_scriptState; variable
|
D | ScriptPromiseResolver.h | 65 ScriptState* scriptState() { return m_scriptState.get(); } in scriptState() 77 ScriptState* scriptState() const { return m_scriptState.get(); } in scriptState() 109 …return V8ValueTraits<T>::toV8Value(value, m_scriptState->context()->Global(), m_scriptState->isola… in toV8Value() 123 ScriptState::Scope scope(m_scriptState.get()); in resolveOrReject() 124 m_value.set(m_scriptState->isolate(), toV8Value(value)); in resolveOrReject() 134 const RefPtr<ScriptState> m_scriptState; variable
|
D | ScriptState.h | 127 : m_scriptState(scriptState) in ScriptStateProtectingContext() 129 if (m_scriptState) in ScriptStateProtectingContext() 130 m_context.set(m_scriptState->isolate(), m_scriptState->context()); in ScriptStateProtectingContext() 133 ScriptState* operator->() const { return m_scriptState.get(); } 134 ScriptState* get() const { return m_scriptState.get(); } in get() 137 m_scriptState = nullptr; in clear() 142 RefPtr<ScriptState> m_scriptState;
|
D | V8MutationCallback.cpp | 42 , m_scriptState(scriptState) in V8MutationCallback() 53 v8::Isolate* isolate = m_scriptState->isolate(); in call() 55 if (m_scriptState->contextIsValid()) in call() 57 ScriptState::Scope scope(m_scriptState.get()); in call() 61 …v8::Handle<v8::Value> observerHandle = toV8(observer, m_scriptState->context()->Global(), isolate); in call() 72 …v8::Handle<v8::Value> argv[] = { v8Array(mutations, m_scriptState->context()->Global(), isolate), … in call()
|
D | WorkerScriptController.cpp | 154 m_scriptState->disposePerContextData(); in ~WorkerScriptController() 172 m_scriptState = ScriptState::create(context, m_world); in initializeContextIfNeeded() 174 ScriptState::Scope scope(m_scriptState.get()); in initializeContextIfNeeded() 181 …v8::Handle<v8::Function> workerGlobalScopeConstructor = m_scriptState->perContextData()->construct… in initializeContextIfNeeded() 184 m_scriptState->disposePerContextData(); in initializeContextIfNeeded() 191 …v8::Handle<v8::Object> globalObject = v8::Handle<v8::Object>::Cast(m_scriptState->context()->Globa… in initializeContextIfNeeded() 202 ScriptState::Scope scope(m_scriptState.get()); in evaluate() 205 m_scriptState->context()->AllowCodeGenerationFromStrings(false); in evaluate() 206 …m_scriptState->context()->SetErrorMessageForCodeGenerationFromStrings(v8String(m_isolate, m_disabl… in evaluate() 229 … m_globalScopeExecutionState->exception = ScriptValue(m_scriptState.get(), block.Exception()); in evaluate() [all …]
|
D | WindowProxy.cpp | 96 v8::Handle<v8::Context> context = m_scriptState->context(); in disposeContext() 100 m_scriptState->detachGlobalObject(); in disposeContext() 102 m_scriptState->disposePerContextData(); in disposeContext() 124 ScriptState::Scope scope(m_scriptState.get()); in clearForNavigation() 199 ScriptState::Scope scope(m_scriptState.get()); in initialize() 200 v8::Handle<v8::Context> context = m_scriptState->context(); in initialize() 228 … InspectorInstrumentation::didCreateIsolatedContext(m_frame, m_scriptState.get(), origin); in initialize() 267 m_scriptState = ScriptState::create(context, m_world); in createContext() 285 …v8::Local<v8::Object> windowWrapper = V8ObjectConstructor::newInstance(m_isolate, m_scriptState->p… in installDOMWindow() 311 v8::Handle<v8::Object> innerGlobalObject = toInnerGlobalObject(m_scriptState->context()); in installDOMWindow() [all …]
|
D | V8NodeFilterCondition.cpp | 44 : m_scriptState(scriptState) in V8NodeFilterCondition() 62 v8::Isolate* isolate = m_scriptState->isolate(); in acceptNode() 63 ASSERT(!m_scriptState->context().IsEmpty()); in acceptNode() 86 v8::Handle<v8::Object> context = m_scriptState->context()->Global(); in acceptNode() 89 …v8::Handle<v8::Value> result = ScriptController::callFunction(m_scriptState->executionContext(), c… in acceptNode()
|
D | ScriptPromiseResolver.cpp | 15 , m_scriptState(scriptState) in ScriptPromiseResolver() 58 ScriptState::Scope scope(m_scriptState.get()); in onTimerFired() 68 m_resolver.resolve(m_value.newLocal(m_scriptState->isolate())); in resolveOrRejectImmediately() 71 m_resolver.reject(m_value.newLocal(m_scriptState->isolate())); in resolveOrRejectImmediately()
|
D | ScriptFunction.h | 55 ScriptState* scriptState() const { return m_scriptState.get(); } in scriptState() 60 : m_scriptState(scriptState) in ScriptFunction() 70 RefPtr<ScriptState> m_scriptState; variable
|
D | V8AbstractEventListener.h | 116 ASSERT(m_scriptState); in scriptState() 117 return m_scriptState.get(); in scriptState() 119 void setScriptState(ScriptState* scriptState) { m_scriptState = scriptState; } in setScriptState() 152 RefPtr<ScriptState> m_scriptState; variable
|
D | ScriptFunctionCall.h | 44 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { } in ScriptCallArgumentHandler() 59 RefPtr<ScriptState> m_scriptState;
|
D | ScriptFunction.cpp | 14 v8::Isolate* isolate = m_scriptState->isolate(); in bindToV8Function() 16 m_scriptState->world().registerDOMObjectHolder(isolate, this, wrapper); in bindToV8Function()
|
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/ |
D | V8CustomSQLStatementErrorCallback.cpp | 47 v8::Isolate* isolate = m_scriptState->isolate(); in handleEvent() 48 if (m_scriptState->contextIsValid()) in handleEvent() 51 ScriptState::Scope scope(m_scriptState.get()); in handleEvent() 53 …v8::Handle<v8::Value> transactionHandle = toV8(transaction, m_scriptState->context()->Global(), is… in handleEvent() 54 v8::Handle<v8::Value> errorHandle = toV8(error, m_scriptState->context()->Global(), isolate); in handleEvent() 71 …oller::callFunction(executionContext(), m_callback.newLocal(isolate), m_scriptState->context()->Gl… in handleEvent()
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | ConsoleMessage.cpp | 92 if (m_scriptState) in scriptState() 93 return m_scriptState->get(); in scriptState() 99 if (m_scriptState) in setScriptState() 100 m_scriptState->clear(); in setScriptState() 103 m_scriptState = adoptPtr(new ScriptStateProtectingContext(scriptState)); in setScriptState() 105 m_scriptState.clear(); in setScriptState()
|
D | ScriptArguments.h | 52 ScriptState* scriptState() const { return m_scriptState.get(); } in scriptState() 61 ScriptStateProtectingContext m_scriptState; variable
|
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
D | callback_interface.cpp | 19 , m_scriptState(scriptState) 36 if (m_scriptState->contextIsValid()) 39 ScriptState::Scope scope(m_scriptState.get()); 63 …ndle_parameter = 'thisHandle, ' if method.call_with_this_handle else 'm_scriptState->context()->Gl…
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
D | InspectorIndexedDBAgent.cpp | 140 : m_scriptState(scriptState) { } in ExecutableWithDatabase() 145 ExecutionContext* context() const { return m_scriptState->executionContext(); } in context() 146 ScriptState* scriptState() const { return m_scriptState.get(); } in scriptState() 148 RefPtr<ScriptState> m_scriptState; member in blink::__anon75acd9ac0111::ExecutableWithDatabase 445 Document* document = toDocument(m_scriptState->executionContext()); in handleEvent() 451 …RefPtr<JSONValue> keyJsonValue = idbCursor->key(m_scriptState.get()).toJSONValue(m_scriptState.get… in handleEvent() 452 …ONValue> primaryKeyJsonValue = idbCursor->primaryKey(m_scriptState.get()).toJSONValue(m_scriptStat… in handleEvent() 453 …RefPtr<JSONValue> valueJsonValue = idbCursor->value(m_scriptState.get()).toJSONValue(m_scriptState… in handleEvent() 475 , m_scriptState(scriptState) in OpenCursorCallback() 483 RefPtr<ScriptState> m_scriptState; member in blink::__anon75acd9ac0111::FINAL
|