/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
V8TestCallbackInterface.cpp | 23 , m_scriptState(scriptState) 37 v8::Isolate* isolate = m_scriptState->isolate(); 38 if (m_scriptState->contextIsEmpty()) 41 ScriptState::Scope scope(m_scriptState.get()); 44 invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), 0, argv); 52 v8::Isolate* isolate = m_scriptState->isolate(); 53 if (m_scriptState->contextIsEmpty()) 56 ScriptState::Scope scope(m_scriptState.get()); 59 return invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), 0, argv); 67 v8::Isolate* isolate = m_scriptState->isolate() [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
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.get(), v8::Number::New(isolate, argument))) [all...] |
ScheduledAction.cpp | 49 : m_scriptState(scriptState) 60 : m_scriptState(scriptState) 86 if (m_scriptState->contextIsEmpty()) 90 ScriptState::Scope scope(m_scriptState.get()); 94 frame->script().callFunction(m_function.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), info.size(), info.data()); 96 frame->script().executeScriptAndReturnValue(m_scriptState->context(), ScriptSourceCode(m_code)); 105 ASSERT(!m_scriptState->contextIsEmpty()); 107 ScriptState::Scope scope(m_scriptState.get()); 110 V8ScriptRunner::callFunction(m_function.newLocal(m_scriptState->isolate()), worker, m_scriptState->context()->Global(), info.size(), info.data(), m_scriptState-> (…) [all...] |
ScriptPromiseResolverWithContext.cpp | 15 , m_scriptState(scriptState) 18 , m_resolver(ScriptPromiseResolver::create(m_scriptState.get())) 57 ScriptState::Scope scope(m_scriptState.get()); 69 V8RecursionScope scope(m_scriptState->isolate(), m_scriptState->executionContext()); 71 m_resolver->resolve(m_value.newLocal(m_scriptState->isolate())); 74 m_resolver->reject(m_value.newLocal(m_scriptState->isolate()));
|
ScriptPromiseResolver.cpp | 43 : m_scriptState(scriptState) 45 v8::Isolate* isolate = m_scriptState->isolate(); 46 ASSERT(!m_scriptState->contextIsEmpty()); 61 ASSERT(!m_scriptState->contextIsEmpty()); 62 ASSERT(m_scriptState->isolate()->InContext()); 65 return ScriptPromise(m_scriptState.get(), v8Resolver->GetPromise()); 78 ASSERT(m_scriptState->isolate()->InContext()); 87 ASSERT(m_scriptState->isolate()->InContext());
|
ScriptState.h | 124 : m_scriptState(scriptState) 126 if (m_scriptState) 127 m_context.set(m_scriptState->isolate(), m_scriptState->context()); 130 ScriptState* operator->() const { return m_scriptState.get(); } 131 ScriptState* get() const { return m_scriptState.get(); } 134 m_scriptState = nullptr; 139 RefPtr<ScriptState> m_scriptState;
|
ScriptPromiseResolver.h | 87 ASSERT(m_scriptState->isolate()->InContext()); 95 ASSERT(m_scriptState->isolate()->InContext()); 103 ASSERT(m_scriptState->isolate()->InContext()); 109 ASSERT(m_scriptState->isolate()->InContext()); 114 ASSERT(m_scriptState->isolate()->InContext()); 119 ASSERT(m_scriptState->isolate()->InContext()); 123 v8::Isolate* isolate() const { return m_scriptState->isolate(); } 132 return ToV8Value<ScriptPromiseResolver, v8::Handle<v8::Object> >::toV8Value(value, creationContext, m_scriptState->isolate()); 138 return ToV8Value<ScriptPromiseResolver, v8::Handle<v8::Object> >::toV8Value(value, m_scriptState->context()->Global(), m_scriptState->isolate()) [all...] |
ScriptPromiseResolverWithContext.h | 64 ScriptState* scriptState() { return m_scriptState.get(); } 76 ScriptState* scriptState() const { return m_scriptState.get(); } 107 return ToV8Value<ScriptPromiseResolverWithContext, v8::Handle<v8::Object> >::toV8Value(value, m_scriptState->context()->Global(), m_scriptState->isolate()); 121 ScriptState::Scope scope(m_scriptState.get()); 122 m_value.set(m_scriptState->isolate(), toV8Value(value)); 132 const RefPtr<ScriptState> m_scriptState;
|
ScriptValue.h | 49 , m_scriptState(nullptr) 57 , m_scriptState(scriptState) 60 ASSERT(isEmpty() || m_scriptState); 65 , m_scriptState(value.m_scriptState) 68 ASSERT(isEmpty() || m_scriptState); 73 return m_scriptState.get(); 87 m_scriptState = value.m_scriptState; 156 mutable RefPtr<ScriptState> m_scriptState; [all...] |
CustomElementConstructorBuilder.cpp | 58 : m_scriptState(scriptState) 62 ASSERT(m_scriptState->context() == m_scriptState->isolate()->GetCurrentContext()); 67 return m_scriptState->world().isMainWorld(); 86 m_prototype = v8::Object::New(m_scriptState->isolate()); 87 v8::Local<v8::Object> basePrototype = m_scriptState->perContextData()->prototypeForType(&V8HTMLElement::wrapperTypeInfo); 105 if (!m_scriptState->perContextData()) { 162 v8::Isolate* isolate = m_scriptState->isolate(); 168 m_callbacks = V8CustomElementLifecycleCallbacks::create(m_scriptState.get(), m_prototype, created, attached, detached, attributeChanged); 186 v8::Isolate* isolate = m_scriptState->isolate() [all...] |
V8MutationCallback.cpp | 42 , m_scriptState(scriptState) 53 v8::Isolate* isolate = m_scriptState->isolate(); 55 if (m_scriptState->contextIsEmpty()) 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 };
|
V8WindowShell.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;
|
WorkerScriptController.h | 97 ScriptState* scriptState() { return m_scriptState.get(); } 98 v8::Local<v8::Context> context() { return m_scriptState ? m_scriptState->context() : v8::Local<v8::Context>(); } 99 bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); } 110 RefPtr<ScriptState> m_scriptState;
|
WorkerScriptController.cpp | 111 m_scriptState->disposePerContextData(); 127 m_scriptState = ScriptState::create(context, m_world); 129 ScriptState::Scope scope(m_scriptState.get()); 140 v8::Handle<v8::Function> workerGlobalScopeConstructor = m_scriptState->perContextData()->constructorForType(contextType); 143 m_scriptState->disposePerContextData(); 150 v8::Handle<v8::Object> globalObject = v8::Handle<v8::Object>::Cast(m_scriptState->context()->Global()->GetPrototype()); 161 ScriptState::Scope scope(m_scriptState.get()); 164 m_scriptState->context()->AllowCodeGenerationFromStrings(false); 165 m_scriptState->context()->SetErrorMessageForCodeGenerationFromStrings(v8String(m_isolate, m_disableEvalPending)); 188 state->exception = ScriptValue(m_scriptState.get(), block.Exception()) [all...] |
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->contextIsEmpty()) 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->contextIsEmpty()) 213 ScriptState::Scope scope(m_scriptState.get()) [all...] |
ScriptPreprocessor.cpp | 50 m_scriptState = ScriptState::from(toV8Context(frame, *world)); 52 v8::HandleScope handleScope(m_scriptState->isolate()); 71 m_preprocessorFunction.set(m_scriptState->isolate(), v8::Handle<v8::Function>::Cast(preprocessorFunction)); 79 return preprocessSourceCode(sourceCode, sourceName, v8::Undefined(m_scriptState->isolate())); 87 v8::Handle<v8::String> functionNameString = v8String(m_scriptState->isolate(), functionName); 96 v8::Isolate* isolate = m_scriptState->isolate(); 97 ScriptState::Scope scope(m_scriptState.get()); 106 v8::Handle<v8::Value> resultValue = V8ScriptRunner::callAsFunction(isolate, m_preprocessorFunction.newLocal(isolate), m_scriptState->context()->Global(), WTF_ARRAY_LENGTH(argv), argv);
|
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;
|
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);
|
ScriptValue.cpp | 54 // if (&m_scriptState->world() == &DOMWrapperWorld::current(isolate())) 57 RELEASE_ASSERT(&m_scriptState->world() == &DOMWrapperWorld::current(isolate())); 66 ScriptState::Scope scope(m_scriptState.get());
|
ScriptFunctionCall.h | 44 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { } 58 RefPtr<ScriptState> m_scriptState;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaQueryListListener.cpp | 30 : m_scriptState(scriptState) 38 if (m_scriptState->contextIsEmpty()) 40 ScriptState::Scope scope(m_scriptState.get()); 41 v8::Handle<v8::Value> args[] = { toV8(query, m_scriptState->context()->Global(), m_scriptState->isolate()) }; 42 invokeCallback(m_scriptState.get(), v8::Handle<v8::Function>::Cast(m_function.v8Value()), WTF_ARRAY_LENGTH(args), args);
|
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
callback_interface.cpp | 19 , m_scriptState(scriptState) 36 v8::Isolate* isolate = m_scriptState->isolate(); 37 if (m_scriptState->contextIsEmpty()) 40 ScriptState::Scope scope(m_scriptState.get()); 65 return invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), {{this_handle_parameter}}{{method.arguments | length}}, argv); 67 invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), {{this_handle_parameter}}{{method.arguments | length}}, argv);
|
callback_interface.h | 33 RefPtr<ScriptState> m_scriptState;
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8CustomSQLStatementErrorCallback.cpp | 47 v8::Isolate* isolate = m_scriptState->isolate(); 48 if (m_scriptState->contextIsEmpty()) 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/ |
ConsoleMessage.cpp | 54 , m_scriptState(0) 69 , m_scriptState(scriptState) 84 , m_scriptState(0) 105 , m_scriptState(scriptState) 202 ScriptState* scriptState = m_scriptState.get(); 241 if (m_scriptState.get() && m_scriptState.get()->domWindow() == window) 242 m_scriptState.clear();
|