Home
last modified time | relevance | path

Searched refs:module_system (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/extensions/renderer/
Dmodule_system_unittest.cc51 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 …]
Dmessaging_utils_unittest.cc40 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 …]
Devent_unittest.cc77 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 …]
Dutils_unittest.cc40 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()
Dsafe_builtins_unittest.cc14 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()
Ddispatcher.cc161 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 …]
Dmodule_system_test.cc141 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()
Dv8_context_native_handler.cc56 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()
Djson_schema_unittest.cc19 env()->module_system()->RegisterNativeHandler( in SetUp()
27 env()->module_system()->CallModuleMethod("json_schema_test", test_name); in TestFunction()
Dscript_context.h69 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
Dapi_test_base.cc121 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()
Dmodule_system_test.h48 ModuleSystem* module_system() { return context_->module_system(); } in module_system() function
Dbinding_generating_native_handler.cc12 ModuleSystem* module_system, in BindingGeneratingNativeHandler() argument
15 : module_system_(module_system), api_name_(api_name), bind_to_(bind_to) {} in BindingGeneratingNativeHandler()
Dutils_native_handler.cc57 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()
Dmessaging_bindings.cc312 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()
Dmodule_system.cc177 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()
Dbinding_generating_native_handler.h24 BindingGeneratingNativeHandler(ModuleSystem* module_system,
DBUILD.gn64 "module_system.cc",
65 "module_system.h",
Ddispatcher_delegate.h49 ModuleSystem* module_system, in RegisterNativeHandlers() argument
Ddispatcher.h145 static void RegisterNativeHandlers(ModuleSystem* module_system,
228 void RegisterNativeHandlers(ModuleSystem* module_system,
Dapp_window_custom_bindings.cc49 script_context->module_system()->CallModuleMethod( in DidCreateDocumentElement()
Dmodule_system.h65 explicit NativesEnabledScope(ModuleSystem* module_system);
/external/chromium_org/chrome/renderer/extensions/
Dchrome_extensions_dispatcher_delegate.cc96 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 …]
Dwebstore_bindings.cc218 context()->module_system()->CallModuleMethod( in OnInlineWebstoreInstallResponse()
239 context()->module_system()->CallModuleMethod( in OnInlineInstallStageChanged()
249 context()->module_system()->CallModuleMethod( in OnInlineInstallDownloadProgress()
Dchrome_extensions_dispatcher_delegate.h29 extensions::ModuleSystem* module_system,

12