Home
last modified time | relevance | path

Searched refs:v8_context (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/extensions/renderer/
Dscript_context_set_unittest.cc23 v8::Handle<v8::Context> v8_context(v8::Context::New(isolate)); in TEST() local
30 v8_context, frame, extension, Feature::BLESSED_EXTENSION_CONTEXT); in TEST()
34 EXPECT_EQ(context, context_set.GetByV8Context(context->v8_context())); in TEST()
46 EXPECT_FALSE(context_set.GetByV8Context(context->v8_context())); in TEST()
Dscript_context_set.cc32 DCHECK(candidate->v8_context() != context->v8_context()); in Add()
62 v8::Handle<v8::Context> v8_context) const { in GetByV8Context()
66 if ((*iter)->v8_context() == v8_context) in GetByV8Context()
Dsafe_builtins.cc210 return Load("Array", context_->v8_context()); in GetArray()
214 return Load("Function", context_->v8_context()); in GetFunction()
218 return Load("JSON", context_->v8_context()); in GetJSON()
222 return Load("Object", context_->v8_context()); in GetObjekt()
226 return Load("RegExp", context_->v8_context()); in GetRegExp()
230 return Load("String", context_->v8_context()); in GetString()
Dscript_context.cc31 ScriptContext::ScriptContext(const v8::Handle<v8::Context>& v8_context, in ScriptContext() argument
35 : v8_context_(v8_context), in ScriptContext()
40 isolate_(v8_context->GetIsolate()) { in ScriptContext()
78 v8::Context::Scope scope(v8_context()); in CallFunction()
86 v8::Handle<v8::Object> global = v8_context()->Global(); in CallFunction()
112 v8::Context::Scope context_scope(v8_context()); in DispatchEvent()
Dobject_backed_native_handler.cc22 : router_data_(context->v8_context()->GetIsolate()), in ObjectBackedNativeHandler()
25 v8::ObjectTemplate::New(context->v8_context()->GetIsolate())) {} in ObjectBackedNativeHandler()
58 v8::Context::Scope context_scope(context_->v8_context()); in RouteFunction()
80 v8::Context::Scope context_scope(context_->v8_context()); in Invalidate()
Ddefault_dispatcher_delegate.cc19 const v8::Handle<v8::Context>& v8_context, in CreateScriptContext() argument
24 new ScriptContext(v8_context, frame, extension, context_type)); in CreateScriptContext()
Dv8_context_native_handler.cc48 v8::Handle<v8::Context> v8_context = in GetModuleSystem() local
51 dispatcher_->script_context_set().GetByV8Context(v8_context); in GetModuleSystem()
Ddefault_dispatcher_delegate.h19 const v8::Handle<v8::Context>& v8_context,
Dtest_features_native_handler.cc29 converter->ToV8Value(&source->dictionary(), context()->v8_context())); in GetAPIFeatures()
Dcss_native_handler.cc32 output_selector, context()->v8_context()->GetIsolate())); in CanonicalizeCompoundSelector()
Dmodule_system.cc134 v8::Handle<v8::Object> global(context->v8_context()->Global()); in ModuleSystem()
152 v8::Handle<v8::Object> global = context()->v8_context()->Global(); in Invalidate()
199 v8::Context::Scope context_scope(context()->v8_context()); in RequireForJsInner()
201 v8::Handle<v8::Object> global(context()->v8_context()->Global()); in RequireForJsInner()
300 v8::Context::Scope context_scope(context()->v8_context()); in CallModuleMethod()
488 v8::Context::Scope context_scope(context()->v8_context()); in RunString()
Dfile_system_natives.cc42 blink::WebLocalFrame::frameForContext(context()->v8_context()); in GetIsolatedFileSystem()
98 blink::WebLocalFrame::frameForContext(context()->v8_context()); in GetFileEntry()
Ddispatcher.cc121 v8::Handle<v8::Object> global(context->v8_context()->Global()); in GetOrCreateChrome()
143 v8::Context::Scope context_scope(context->v8_context()); in CallModuleMethod()
151 arguments.push_back(converter->ToV8Value(*it, context->v8_context())); in CallModuleMethod()
226 const v8::Handle<v8::Context>& v8_context, in DidCreateScriptContext() argument
257 delegate_->CreateScriptContext(v8_context, frame, extension, context_type) in DidCreateScriptContext()
303 const v8::Handle<v8::Context>& v8_context, in WillReleaseScriptContext() argument
305 ScriptContext* context = script_context_set_.GetByV8Context(v8_context); in WillReleaseScriptContext()
850 v8::Context::Scope context_scope(context->v8_context()); in UpdateBindingsForContext()
Ddispatcher_delegate.h36 const v8::Handle<v8::Context>& v8_context,
Dsend_request_natives.cc57 converter->FromV8Value(args[1], context()->v8_context())); in StartRequest()
/external/chromium_org/chrome/renderer/extensions/
Dcast_streaming_native_handler.cc240 v8::Context::Scope context_scope(context()->v8_context()); in CallCreateCallback()
264 v8::Context::Scope context_scope(context()->v8_context()); in CallStartCallback()
273 v8::Context::Scope context_scope(context()->v8_context()); in CallStopCallback()
283 v8::Context::Scope context_scope(context()->v8_context()); in CallErrorCallback()
325 converter->ToV8Value(params_value.get(), context()->v8_context())); in GetSupportedParamsCastRtpStream()
343 converter->FromV8Value(args[1], context()->v8_context())); in StartCastRtpStream()
357 v8::Isolate* isolate = context()->v8_context()->GetIsolate(); in StartCastRtpStream()
412 converter->FromV8Value(args[1], context()->v8_context())); in SetDestinationCastUdpTransport()
506 v8::Context::Scope context_scope(context()->v8_context()); in CallGetRawEventsCallback()
515 converter->ToV8Value(raw_events.get(), context()->v8_context()); in CallGetRawEventsCallback()
[all …]
Dchrome_v8_context.cc20 ChromeV8Context::ChromeV8Context(const v8::Handle<v8::Context>& v8_context, in ChromeV8Context() argument
24 : ScriptContext(v8_context, web_frame, extension, context_type) { in ChromeV8Context()
Dapp_window_custom_bindings.cc48 v8::Context::Scope context_scope(script_context->v8_context()); in DidCreateDocumentElement()
125 result = converter->ToV8Value(value, context()->v8_context()); in GetWindowControlsHtmlTemplate()
Dwebstore_bindings.cc208 v8::Context::Scope context_scope(context()->v8_context()); in OnInlineWebstoreInstallResponse()
232 v8::Context::Scope context_scope(context()->v8_context()); in OnInlineInstallStageChanged()
242 v8::Context::Scope context_scope(context()->v8_context()); in OnInlineInstallDownloadProgress()
Dfile_browser_private_custom_bindings.cc37 blink::WebLocalFrame::frameForContext(context()->v8_context()); in GetFileSystem()
Dsync_file_system_custom_bindings.cc53 blink::WebLocalFrame::frameForContext(context()->v8_context()); in GetSyncFileSystemObject()
Dnotifications_native_handler.cc45 converter->ToV8Value(dict.get(), context()->v8_context())); in GetNotificationImageSizes()
Dchrome_extensions_dispatcher_delegate.h21 const v8::Handle<v8::Context>& v8_context,
/external/chromium_org/chrome/test/base/
Dmodule_system_test.cc136 context_->v8_context()->Enter(); in ModuleSystemTest()
156 context_->v8_context()->Exit(); in ~ModuleSystemTest()
/external/chromium_org/content/renderer/gpu/
Dgpu_benchmarking_extension.cc879 v8::Handle<v8::Context> v8_context = callback_and_context->GetContext(); in RunMicroBenchmark() local
881 make_scoped_ptr(converter->FromV8Value(args[2], v8_context)); in RunMicroBenchmark()
906 v8::Handle<v8::Context> v8_context = in SendMessageToMicroBenchmark() local
909 make_scoped_ptr(converter->FromV8Value(args[1], v8_context)); in SendMessageToMicroBenchmark()
912 converter->FromV8Value(args[0], v8_context)->GetAsInteger(&id); in SendMessageToMicroBenchmark()

12