/external/chromium_org/extensions/renderer/ |
D | module_system_unittest.cc | 51 env()->module_system()); in TEST_F() 55 env()->module_system()->SetExceptionHandlerForTest(scoped_handler.Pass()); in TEST_F() 58 env()->module_system()->Require("test"); in TEST_F() 66 env()->module_system()); in TEST_F() 72 env()->module_system()->Require("test"); in TEST_F() 77 env()->module_system()); in TEST_F() 86 env()->module_system()->Require("test"); in TEST_F() 91 env()->module_system()); in TEST_F() 106 env()->module_system()->Require("test"); in TEST_F() 120 env()->module_system()->Require("test"); in TEST_F() [all …]
|
D | messaging_utils_unittest.cc | 40 env()->module_system()); in TEST_F() 44 env()->module_system()->Require("test"); in TEST_F() 49 env()->module_system()); in TEST_F() 53 env()->module_system()->Require("test"); in TEST_F() 58 env()->module_system()); in TEST_F() 63 env()->module_system()->Require("test"); in TEST_F() 68 env()->module_system()); in TEST_F() 73 env()->module_system()->Require("test"); in TEST_F() 78 env()->module_system()); in TEST_F() 83 env()->module_system()->Require("test"); in TEST_F() [all …]
|
D | event_unittest.cc | 77 env()->module_system()); in TEST_F() 92 env()->module_system()->Require("test"); in TEST_F() 97 env()->module_system()); in TEST_F() 110 env()->module_system()->Require("test"); in TEST_F() 115 env()->module_system()); in TEST_F() 127 env()->module_system()->Require("test"); in TEST_F() 132 env()->module_system()); in TEST_F() 145 env()->module_system()->Require("test"); in TEST_F() 150 env()->module_system()); in TEST_F() 161 env()->module_system()->Require("test"); in TEST_F() [all …]
|
D | utils_unittest.cc | 40 env()->module_system()); in TEST_F() 41 env()->module_system()->CallModuleMethod("utils_unittest", "testSuperClass"); in TEST_F() 46 env()->module_system()); in TEST_F() 47 env()->module_system()->CallModuleMethod("utils_unittest", in TEST_F() 54 env()->module_system()); in TEST_F() 55 env()->module_system()->CallModuleMethod("utils_unittest", in TEST_F() 62 env()->module_system()); in TEST_F() 63 env()->module_system()->CallModuleMethod("utils_unittest", in TEST_F() 70 env()->module_system()); in TEST_F() 71 env()->module_system()->CallModuleMethod("utils_unittest", in TEST_F()
|
D | safe_builtins_unittest.cc | 14 env()->module_system()); in TEST_F() 19 env()->module_system()->Require("test"); in TEST_F() 24 env()->module_system()); in TEST_F() 32 env()->module_system()->Require("test"); in TEST_F() 37 env()->module_system()); in TEST_F() 45 env()->module_system()->Require("test"); in TEST_F() 50 env()->module_system()); in TEST_F() 59 env()->module_system()->Require("test"); in TEST_F()
|
D | dispatcher.cc | 161 context->module_system()->CallModuleMethod( in CallModuleMethod() 299 scoped_ptr<ModuleSystem> module_system( in DidCreateScriptContext() local 301 context->set_module_system(module_system.Pass()); in DidCreateScriptContext() 303 ModuleSystem* module_system = context->module_system(); in DidCreateScriptContext() local 306 ModuleSystem::NativesEnabledScope natives_enabled_scope(module_system); in DidCreateScriptContext() 308 RegisterNativeHandlers(module_system, context); in DidCreateScriptContext() 316 module_system->SetLazyField(chrome, "Event", kEventBindings, "Event"); in DidCreateScriptContext() 324 module_system->Require("platformApp"); in DidCreateScriptContext() 330 module_system->Require("webView"); in DidCreateScriptContext() 333 module_system->Require("webViewExperimental"); in DidCreateScriptContext() [all …]
|
D | module_system_test.cc | 141 scoped_ptr<ModuleSystem> module_system( in ModuleSystemTestEnvironment() local 143 context_->set_module_system(module_system.Pass()); in ModuleSystemTestEnvironment() 145 ModuleSystem* module_system = context_->module_system(); in ModuleSystemTestEnvironment() local 146 module_system->RegisterNativeHandler( in ModuleSystemTestEnvironment() 148 module_system->RegisterNativeHandler( in ModuleSystemTestEnvironment() 151 module_system->RegisterNativeHandler( in ModuleSystemTestEnvironment() 154 module_system->SetExceptionHandlerForTest( in ModuleSystemTestEnvironment() 180 context_->module_system()->OverrideNativeHandlerForTest(name); in OverrideNativeHandler()
|
D | v8_context_native_handler.cc | 56 args.GetReturnValue().Set(context->module_system()->NewInstance()); in GetModuleSystem() 64 context()->module_system()->NewInstance() in RunWithNativesEnabledModuleSystem() 66 ModuleSystem::NativesEnabledScope natives_enabled(context()->module_system()); in RunWithNativesEnabledModuleSystem()
|
D | json_schema_unittest.cc | 19 env()->module_system()->RegisterNativeHandler( in SetUp() 27 env()->module_system()->CallModuleMethod("json_schema_test", test_name); in TestFunction()
|
D | script_context.h | 69 void set_module_system(scoped_ptr<ModuleSystem> module_system) { in set_module_system() argument 70 module_system_ = module_system.Pass(); in set_module_system() 73 ModuleSystem* module_system() { return module_system_.get(); } in module_system() function
|
D | api_test_base.cc | 121 Dispatcher::RegisterNativeHandlers(env()->module_system(), in RegisterModules() 126 env()->module_system()->RegisterNativeHandler( in RegisterModules() 205 ModuleSystem::NativesEnabledScope natives_enabled(env()->module_system()); in RunTestInner() 207 env()->module_system()->CallModuleMethod("testBody", test_name); in RunTestInner()
|
D | module_system_test.h | 48 ModuleSystem* module_system() { return context_->module_system(); } in module_system() function
|
D | binding_generating_native_handler.cc | 12 ModuleSystem* module_system, in BindingGeneratingNativeHandler() argument 15 : module_system_(module_system), api_name_(api_name), bind_to_(bind_to) {} in BindingGeneratingNativeHandler()
|
D | utils_native_handler.cc | 57 v8::Handle<v8::Value> func_as_value = context()->module_system()->RunString( in CreateClassWrapper() 65 v8::Handle<v8::Object> natives(context()->module_system()->NewInstance()); in CreateClassWrapper()
|
D | messaging_bindings.cc | 312 script_context->module_system()->CallModuleMethod( in DispatchOnConnectToScriptContext() 334 script_context->module_system()->CallModuleMethod( in DeliverMessageToScriptContext() 347 script_context->module_system()->CallModuleMethod( in DeliverMessageToScriptContext() 366 script_context->module_system()->CallModuleMethod( in DispatchOnDisconnectToScriptContext()
|
D | module_system.cc | 177 ModuleSystem* module_system) in NativesEnabledScope() argument 178 : module_system_(module_system) { in NativesEnabledScope() 349 ModuleSystem* module_system = static_cast<ModuleSystem*>( in LazyFieldGetterInner() local 360 NativesEnabledScope natives_enabled_scope(module_system); in LazyFieldGetterInner() 363 v8::Handle<v8::Value> module_value = (module_system->*require_function)(name); in LazyFieldGetterInner() 365 module_system->HandleException(try_catch); in LazyFieldGetterInner() 380 Fatal(module_system->context_, in LazyFieldGetterInner() 388 module_system->HandleException(try_catch); in LazyFieldGetterInner()
|
D | binding_generating_native_handler.h | 24 BindingGeneratingNativeHandler(ModuleSystem* module_system,
|
D | BUILD.gn | 64 "module_system.cc", 65 "module_system.h",
|
D | dispatcher_delegate.h | 49 ModuleSystem* module_system, in RegisterNativeHandlers() argument
|
D | dispatcher.h | 145 static void RegisterNativeHandlers(ModuleSystem* module_system, 228 void RegisterNativeHandlers(ModuleSystem* module_system,
|
D | app_window_custom_bindings.cc | 49 script_context->module_system()->CallModuleMethod( in DidCreateDocumentElement()
|
D | module_system.h | 65 explicit NativesEnabledScope(ModuleSystem* module_system);
|
/external/chromium_org/chrome/renderer/extensions/ |
D | chrome_extensions_dispatcher_delegate.cc | 96 extensions::ModuleSystem* module_system, in RegisterNativeHandlers() argument 101 module_system->RegisterNativeHandler( in RegisterNativeHandlers() 105 module_system->RegisterNativeHandler( in RegisterNativeHandlers() 109 module_system->RegisterNativeHandler( in RegisterNativeHandlers() 113 module_system->RegisterNativeHandler( in RegisterNativeHandlers() 117 module_system->RegisterNativeHandler( in RegisterNativeHandlers() 121 module_system->RegisterNativeHandler( in RegisterNativeHandlers() 125 module_system->RegisterNativeHandler( in RegisterNativeHandlers() 129 module_system->RegisterNativeHandler( in RegisterNativeHandlers() 133 module_system->RegisterNativeHandler( in RegisterNativeHandlers() [all …]
|
D | webstore_bindings.cc | 218 context()->module_system()->CallModuleMethod( in OnInlineWebstoreInstallResponse() 239 context()->module_system()->CallModuleMethod( in OnInlineInstallStageChanged() 249 context()->module_system()->CallModuleMethod( in OnInlineInstallDownloadProgress()
|
D | chrome_extensions_dispatcher_delegate.h | 29 extensions::ModuleSystem* module_system,
|