/external/chromium_org/extensions/renderer/ |
D | script_context_set_unittest.cc | 23 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()
|
D | script_context_set.cc | 32 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()
|
D | safe_builtins.cc | 210 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()
|
D | script_context.cc | 31 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()
|
D | object_backed_native_handler.cc | 22 : 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()
|
D | default_dispatcher_delegate.cc | 19 const v8::Handle<v8::Context>& v8_context, in CreateScriptContext() argument 24 new ScriptContext(v8_context, frame, extension, context_type)); in CreateScriptContext()
|
D | v8_context_native_handler.cc | 48 v8::Handle<v8::Context> v8_context = in GetModuleSystem() local 51 dispatcher_->script_context_set().GetByV8Context(v8_context); in GetModuleSystem()
|
D | default_dispatcher_delegate.h | 19 const v8::Handle<v8::Context>& v8_context,
|
D | test_features_native_handler.cc | 29 converter->ToV8Value(&source->dictionary(), context()->v8_context())); in GetAPIFeatures()
|
D | css_native_handler.cc | 32 output_selector, context()->v8_context()->GetIsolate())); in CanonicalizeCompoundSelector()
|
D | module_system.cc | 134 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()
|
D | file_system_natives.cc | 42 blink::WebLocalFrame::frameForContext(context()->v8_context()); in GetIsolatedFileSystem() 98 blink::WebLocalFrame::frameForContext(context()->v8_context()); in GetFileEntry()
|
D | dispatcher.cc | 121 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()
|
D | dispatcher_delegate.h | 36 const v8::Handle<v8::Context>& v8_context,
|
D | send_request_natives.cc | 57 converter->FromV8Value(args[1], context()->v8_context())); in StartRequest()
|
/external/chromium_org/chrome/renderer/extensions/ |
D | cast_streaming_native_handler.cc | 240 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 …]
|
D | chrome_v8_context.cc | 20 ChromeV8Context::ChromeV8Context(const v8::Handle<v8::Context>& v8_context, in ChromeV8Context() argument 24 : ScriptContext(v8_context, web_frame, extension, context_type) { in ChromeV8Context()
|
D | app_window_custom_bindings.cc | 48 v8::Context::Scope context_scope(script_context->v8_context()); in DidCreateDocumentElement() 125 result = converter->ToV8Value(value, context()->v8_context()); in GetWindowControlsHtmlTemplate()
|
D | webstore_bindings.cc | 208 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()
|
D | file_browser_private_custom_bindings.cc | 37 blink::WebLocalFrame::frameForContext(context()->v8_context()); in GetFileSystem()
|
D | sync_file_system_custom_bindings.cc | 53 blink::WebLocalFrame::frameForContext(context()->v8_context()); in GetSyncFileSystemObject()
|
D | notifications_native_handler.cc | 45 converter->ToV8Value(dict.get(), context()->v8_context())); in GetNotificationImageSizes()
|
D | chrome_extensions_dispatcher_delegate.h | 21 const v8::Handle<v8::Context>& v8_context,
|
/external/chromium_org/chrome/test/base/ |
D | module_system_test.cc | 136 context_->v8_context()->Enter(); in ModuleSystemTest() 156 context_->v8_context()->Exit(); in ~ModuleSystemTest()
|
/external/chromium_org/content/renderer/gpu/ |
D | gpu_benchmarking_extension.cc | 879 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()
|