/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/ |
H A D | V8TestCallbackInterface.cpp | 23 , m_scriptState(scriptState) 37 if (m_scriptState->contextIsValid()) 40 ScriptState::Scope scope(m_scriptState.get()); 43 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 0, argv, m_scriptState->isolate()); 51 if (m_scriptState->contextIsValid()) 54 ScriptState::Scope scope(m_scriptState.get()); 59 ScriptController::callFunction(m_scriptState [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | ScriptFunctionCall.cpp | 47 if (argument.scriptState() != m_scriptState) { 56 v8::Isolate* isolate = m_scriptState->isolate(); 57 ScriptState::Scope scope(m_scriptState.get()); 58 m_arguments.append(ScriptValue(m_scriptState.get(), v8String(isolate, argument))); 63 v8::Isolate* isolate = m_scriptState->isolate(); 64 ScriptState::Scope scope(m_scriptState.get()); 65 m_arguments.append(ScriptValue(m_scriptState.get(), v8String(isolate, argument))); 70 v8::Isolate* isolate = m_scriptState->isolate(); 71 ScriptState::Scope scope(m_scriptState.get()); 72 m_arguments.append(ScriptValue(m_scriptState [all...] |
H A D | ScheduledAction.cpp | 50 : m_scriptState(scriptState) 61 : m_scriptState(scriptState) 92 if (m_scriptState->contextIsValid()) { 98 ScriptState::Scope scope(m_scriptState.get()); 103 frame->script().callFunction(m_function.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), info.size(), info.data()); 106 frame->script().executeScriptAndReturnValue(m_scriptState->context(), ScriptSourceCode(m_code)); 115 ASSERT(!m_scriptState->contextIsValid()); 117 ScriptState::Scope scope(m_scriptState.get()); 120 V8ScriptRunner::callFunction(m_function.newLocal(m_scriptState [all...] |
H A D | ScriptFunction.h | 55 ScriptState* scriptState() const { return m_scriptState.get(); } 60 : m_scriptState(scriptState) 70 RefPtr<ScriptState> m_scriptState; member in class:blink::ScriptFunction
|
H A D | ScriptValue.h | 50 : m_scriptState(scriptState) 53 ASSERT(isEmpty() || m_scriptState); 57 : m_scriptState(value.m_scriptState) 60 ASSERT(isEmpty() || m_scriptState); 65 return m_scriptState.get(); 70 return m_scriptState ? m_scriptState->isolate() : v8::Isolate::GetCurrent(); 76 m_scriptState = value.m_scriptState; 145 RefPtr<ScriptState> m_scriptState; member in class:blink::FINAL [all...] |
H A D | V8MutationCallback.cpp | 42 , m_scriptState(scriptState) 53 v8::Isolate* isolate = m_scriptState->isolate(); 55 if (m_scriptState->contextIsValid()) 57 ScriptState::Scope scope(m_scriptState.get()); 61 v8::Handle<v8::Value> observerHandle = toV8(observer, m_scriptState->context()->Global(), isolate); 72 v8::Handle<v8::Value> argv[] = { v8Array(mutations, m_scriptState->context()->Global(), isolate), observerHandle };
|
H A D | WindowProxy.h | 60 v8::Local<v8::Context> context() const { return m_scriptState ? m_scriptState->context() : v8::Local<v8::Context>(); } 61 ScriptState* scriptState() const { return m_scriptState.get(); } 73 bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); } 113 RefPtr<ScriptState> m_scriptState; member in class:blink::WindowProxy
|
H A D | WorkerScriptController.h | 80 ScriptState* scriptState() { return m_scriptState.get(); } 83 v8::Local<v8::Context> context() { return m_scriptState ? m_scriptState->context() : v8::Local<v8::Context>(); } 88 bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); } 95 RefPtr<ScriptState> m_scriptState; member in class:blink::WorkerScriptController
|
H A D | ScriptPreprocessor.cpp | 51 m_scriptState = ScriptState::from(toV8Context(frame, *world)); 53 v8::HandleScope handleScope(m_scriptState->isolate()); 72 m_preprocessorFunction.set(m_scriptState->isolate(), v8::Handle<v8::Function>::Cast(preprocessorFunction)); 80 return preprocessSourceCode(sourceCode, sourceName, v8::Undefined(m_scriptState->isolate())); 88 v8::Handle<v8::String> functionNameString = v8String(m_scriptState->isolate(), functionName); 97 v8::Isolate* isolate = m_scriptState->isolate(); 98 ScriptState::Scope scope(m_scriptState.get()); 107 v8::Handle<v8::Value> resultValue = V8ScriptRunner::callAsFunction(isolate, m_preprocessorFunction.newLocal(isolate), m_scriptState->context()->Global(), WTF_ARRAY_LENGTH(argv), argv);
|
H A D | ScriptPromiseResolver.cpp | 15 , m_scriptState(scriptState) 58 ScriptState::Scope scope(m_scriptState.get()); 68 m_resolver.resolve(m_value.newLocal(m_scriptState->isolate())); 71 m_resolver.reject(m_value.newLocal(m_scriptState->isolate()));
|
H A D | ScriptPromiseResolver.h | 65 ScriptState* scriptState() { return m_scriptState.get(); } 77 ScriptState* scriptState() const { return m_scriptState.get(); } 109 return V8ValueTraits<T>::toV8Value(value, m_scriptState->context()->Global(), m_scriptState->isolate()); 123 ScriptState::Scope scope(m_scriptState.get()); 124 m_value.set(m_scriptState->isolate(), toV8Value(value)); 134 const RefPtr<ScriptState> m_scriptState; member in class:blink::ScriptPromiseResolver
|
H A D | CustomElementConstructorBuilder.cpp | 58 : m_scriptState(scriptState) 61 ASSERT(m_scriptState->context() == m_scriptState->isolate()->GetCurrentContext()); 66 return m_scriptState->world().isMainWorld(); 85 m_prototype = v8::Object::New(m_scriptState->isolate()); 86 v8::Local<v8::Object> basePrototype = m_scriptState->perContextData()->prototypeForType(&V8HTMLElement::wrapperTypeInfo); 104 if (!m_scriptState->perContextData()) { 153 v8::Isolate* isolate = m_scriptState->isolate(); 159 m_callbacks = V8CustomElementLifecycleCallbacks::create(m_scriptState.get(), m_prototype, created, attached, detached, attributeChanged); 177 v8::Isolate* isolate = m_scriptState [all...] |
H A D | ScriptFunction.cpp | 14 v8::Isolate* isolate = m_scriptState->isolate(); 16 m_scriptState->world().registerDOMObjectHolder(isolate, this, wrapper);
|
H A D | ScriptFunctionCall.h | 44 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { } 59 RefPtr<ScriptState> m_scriptState; member in class:blink::ScriptCallArgumentHandler
|
H A D | ScriptState.h | 127 : m_scriptState(scriptState) 129 if (m_scriptState) 130 m_context.set(m_scriptState->isolate(), m_scriptState->context()); 133 ScriptState* operator->() const { return m_scriptState.get(); } 134 ScriptState* get() const { return m_scriptState.get(); } 137 m_scriptState = nullptr; 142 RefPtr<ScriptState> m_scriptState; member in class:blink::ScriptStateProtectingContext
|
H A D | V8CustomElementLifecycleCallbacks.cpp | 96 , m_scriptState(scriptState) 118 v8::Handle<v8::Context> context = m_scriptState->context(); 130 v8::HandleScope handleScope(m_scriptState->isolate()); 161 if (m_scriptState->contextIsValid()) 163 ScriptState::Scope scope(m_scriptState.get()); 164 v8::Isolate* isolate = m_scriptState->isolate(); 165 v8::Handle<v8::Context> context = m_scriptState->context(); 166 v8::Handle<v8::Object> receiver = m_scriptState->world().domDataStore().get<V8Element>(element, isolate); 211 if (m_scriptState->contextIsValid()) 213 ScriptState::Scope scope(m_scriptState [all...] |
H A D | WorkerScriptController.cpp | 154 m_scriptState->disposePerContextData(); 172 m_scriptState = ScriptState::create(context, m_world); 174 ScriptState::Scope scope(m_scriptState.get()); 181 v8::Handle<v8::Function> workerGlobalScopeConstructor = m_scriptState->perContextData()->constructorForType(wrapperTypeInfo); 184 m_scriptState->disposePerContextData(); 191 v8::Handle<v8::Object> globalObject = v8::Handle<v8::Object>::Cast(m_scriptState->context()->Global()->GetPrototype()); 202 ScriptState::Scope scope(m_scriptState.get()); 205 m_scriptState->context()->AllowCodeGenerationFromStrings(false); 206 m_scriptState->context()->SetErrorMessageForCodeGenerationFromStrings(v8String(m_isolate, m_disableEvalPending)); 229 m_globalScopeExecutionState->exception = ScriptValue(m_scriptState [all...] |
H A D | V8NodeFilterCondition.cpp | 44 : m_scriptState(scriptState) 62 v8::Isolate* isolate = m_scriptState->isolate(); 63 ASSERT(!m_scriptState->context().IsEmpty()); 86 v8::Handle<v8::Object> context = m_scriptState->context()->Global(); 89 v8::Handle<v8::Value> result = ScriptController::callFunction(m_scriptState->executionContext(), callback, context, 1, info.get(), isolate);
|
H A D | WindowProxy.cpp | 96 v8::Handle<v8::Context> context = m_scriptState->context(); 100 m_scriptState->detachGlobalObject(); 102 m_scriptState->disposePerContextData(); 124 ScriptState::Scope scope(m_scriptState.get()); 199 ScriptState::Scope scope(m_scriptState.get()); 200 v8::Handle<v8::Context> context = m_scriptState->context(); 228 InspectorInstrumentation::didCreateIsolatedContext(m_frame, m_scriptState.get(), origin); 267 m_scriptState = ScriptState::create(context, m_world); 285 v8::Local<v8::Object> windowWrapper = V8ObjectConstructor::newInstance(m_isolate, m_scriptState->perContextData()->constructorForType(wrapperTypeInfo)); 311 v8::Handle<v8::Object> innerGlobalObject = toInnerGlobalObject(m_scriptState [all...] |
H A D | V8AbstractEventListener.h | 116 ASSERT(m_scriptState); 117 return m_scriptState.get(); 119 void setScriptState(ScriptState* scriptState) { m_scriptState = scriptState; } 149 // For V8LazyEventListener, m_scriptState can be 0 until V8LazyEventListener is actually used. 150 // m_scriptState is set lazily because V8LazyEventListener doesn't know the associated frame 152 RefPtr<ScriptState> m_scriptState; member in class:blink::V8AbstractEventListener
|
H A D | ScriptValue.cpp | 50 // if (&m_scriptState->world() == &DOMWrapperWorld::current(isolate())) 53 RELEASE_ASSERT(&m_scriptState->world() == &DOMWrapperWorld::current(isolate())); 69 ScriptState::Scope scope(m_scriptState.get());
|
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/ |
H A D | V8CustomSQLStatementErrorCallback.cpp | 47 v8::Isolate* isolate = m_scriptState->isolate(); 48 if (m_scriptState->contextIsValid()) 51 ScriptState::Scope scope(m_scriptState.get()); 53 v8::Handle<v8::Value> transactionHandle = toV8(transaction, m_scriptState->context()->Global(), isolate); 54 v8::Handle<v8::Value> errorHandle = toV8(error, m_scriptState->context()->Global(), isolate); 71 v8::Handle<v8::Value> result = ScriptController::callFunction(executionContext(), m_callback.newLocal(isolate), m_scriptState->context()->Global(), WTF_ARRAY_LENGTH(argv), argv, isolate);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | ScriptArguments.h | 52 ScriptState* scriptState() const { return m_scriptState.get(); } 61 ScriptStateProtectingContext m_scriptState; member in class:blink::ScriptArguments
|
H A D | ConsoleMessage.cpp | 92 if (m_scriptState) 93 return m_scriptState->get(); 99 if (m_scriptState) 100 m_scriptState->clear(); 103 m_scriptState = adoptPtr(new ScriptStateProtectingContext(scriptState)); 105 m_scriptState.clear();
|
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
H A D | callback_interface.cpp | 19 , m_scriptState(scriptState) function in namespace:blink 36 if (m_scriptState->contextIsValid()) 39 ScriptState::Scope scope(m_scriptState.get()); 63 {% set this_handle_parameter = 'thisHandle, ' if method.call_with_this_handle else 'm_scriptState->context()->Global(), ' %} 67 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState->isolate()); 70 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState [all...] |