/external/chromium_org/extensions/common/manifest_handlers/ |
H A D | background_info.cc | 35 static base::LazyInstance<BackgroundInfo> g_empty_background_info = 38 const BackgroundInfo& GetBackgroundInfo(const Extension* extension) { 39 BackgroundInfo* info = static_cast<BackgroundInfo*>( 48 BackgroundInfo::BackgroundInfo() function in class:extensions::BackgroundInfo 53 BackgroundInfo::~BackgroundInfo() { 57 GURL BackgroundInfo::GetBackgroundURL(const Extension* extension) { 58 const BackgroundInfo [all...] |
H A D | background_info.h | 18 class BackgroundInfo : public Extension::ManifestData { class in namespace:extensions 20 BackgroundInfo(); 21 virtual ~BackgroundInfo(); 76 DISALLOW_COPY_AND_ASSIGN(BackgroundInfo);
|
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
H A D | extension_manifests_background_unittest.cc | 41 BackgroundInfo::GetBackgroundScripts(extension.get()); 46 EXPECT_TRUE(BackgroundInfo::HasBackgroundPage(extension.get())); 49 BackgroundInfo::GetBackgroundURL(extension.get()).path()); 61 BackgroundInfo::GetBackgroundURL(extension.get()).path()); 62 EXPECT_TRUE(BackgroundInfo::AllowJSAccess(extension.get())); 71 BackgroundInfo::GetBackgroundURL(extension.get()).path()); 83 EXPECT_FALSE(BackgroundInfo::AllowJSAccess(extension.get())); 87 EXPECT_FALSE(BackgroundInfo::AllowJSAccess(extension.get())); 102 EXPECT_TRUE(BackgroundInfo::HasLazyBackgroundPage(extension.get()));
|
/external/chromium_org/extensions/browser/ |
H A D | lazy_background_task_queue.cc | 46 if (BackgroundInfo::HasBackgroundPage(extension)) { 81 if (extension && BackgroundInfo::HasLazyBackgroundPage(extension)) { 90 extension, BackgroundInfo::GetBackgroundURL(extension))) { 113 if (BackgroundInfo::HasLazyBackgroundPage(extension)) 131 if (host && BackgroundInfo::HasLazyBackgroundPage(extension)) {
|
H A D | process_manager.cc | 99 if (BackgroundInfo::HasPersistentBackgroundPage(extension)) 101 BackgroundInfo::GetBackgroundURL(extension)); 356 if (!BackgroundInfo::HasLazyBackgroundPage(extension)) 363 if (!BackgroundInfo::HasLazyBackgroundPage(extension)) 372 if (!BackgroundInfo::HasLazyBackgroundPage(extension)) 414 if (!BackgroundInfo::HasLazyBackgroundPage(extension)) 741 if (BackgroundInfo::HasLazyBackgroundPage(host->extension())) {
|
H A D | event_router.cc | 632 if (BackgroundInfo::HasLazyBackgroundPage(extension)) { 652 BackgroundInfo::HasLazyBackgroundPage(host->extension())) 685 if (BackgroundInfo::HasLazyBackgroundPage(extension)) {
|
/external/chromium_org/chrome/browser/background/ |
H A D | background_contents_service.cc | 60 using extensions::BackgroundInfo; 376 if (extension && BackgroundInfo::HasBackgroundPage(extension)) 387 BackgroundInfo::HasBackgroundPage(extension)) { 399 BackgroundInfo::GetBackgroundURL(extension), 461 if (BackgroundInfo::HasBackgroundPage(extension)) 542 if (extension && BackgroundInfo::HasBackgroundPage(extension)) { 544 BackgroundInfo::GetBackgroundURL(extension), 591 BackgroundInfo::HasBackgroundPage(extension)) { 593 BackgroundInfo::GetBackgroundURL(extension),
|
H A D | background_application_list_model.cc | 314 if (extensions::BackgroundInfo::HasBackgroundPage(&extension))
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
H A D | extension_message_port.cc | 62 if (host && BackgroundInfo::HasLazyBackgroundPage(host->extension()))
|
H A D | message_service.cc | 639 if (!BackgroundInfo::HasLazyBackgroundPage(extension))
|
/external/chromium_org/chrome/browser/extensions/api/developer_private/ |
H A D | developer_private_api.cc | 393 BackgroundInfo::HasGeneratedBackgroundPage(extension); 406 (web_contents->GetURL() == BackgroundInfo::GetBackgroundURL(extension)); 427 BackgroundInfo::HasGeneratedBackgroundPage(extension); 434 (web_contents->GetURL() == BackgroundInfo::GetBackgroundURL(extension)); 486 if (BackgroundInfo::HasLazyBackgroundPage(extension) && 490 BackgroundInfo::GetBackgroundURL(extension), 494 BackgroundInfo::HasGeneratedBackgroundPage(extension))); 509 if (BackgroundInfo::HasLazyBackgroundPage(extension) && 513 BackgroundInfo::GetBackgroundURL(extension), 517 BackgroundInfo [all...] |
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
H A D | extension_settings_handler.cc | 1122 if (BackgroundInfo::HasLazyBackgroundPage(extension) && 1126 BackgroundInfo::GetBackgroundURL(extension), 1130 BackgroundInfo::HasGeneratedBackgroundPage(extension))); 1145 if (BackgroundInfo::HasLazyBackgroundPage(extension) && 1149 BackgroundInfo::GetBackgroundURL(extension), 1153 BackgroundInfo::HasGeneratedBackgroundPage(extension))); 1165 BackgroundInfo::HasGeneratedBackgroundPage(extension); 1179 (url == BackgroundInfo::GetBackgroundURL(extension)); 1200 BackgroundInfo::HasGeneratedBackgroundPage(extension); 1208 (web_contents->GetURL() == BackgroundInfo [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_host.cc | 157 extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) { 275 if (extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) {
|
H A D | installed_loader.cc | 109 if (!BackgroundInfo::HasBackgroundPage(extension)) 111 if (BackgroundInfo::HasPersistentBackgroundPage(extension))
|
H A D | menu_manager.cc | 759 if (!BackgroundInfo::HasLazyBackgroundPage(extension)) 815 if (store_ && BackgroundInfo::HasLazyBackgroundPage(extension)) {
|
H A D | extension_protocols.cc | 210 extensions::BackgroundInfo::GetBackgroundScripts(extension_.get());
|
H A D | extension_service.cc | 1079 if (extensions::BackgroundInfo::HasBackgroundPage(extension)) 2702 if (!extensions::BackgroundInfo::HasPersistentBackgroundPage(extension)) 2711 DCHECK(extensions::BackgroundInfo::HasBackgroundPage(extension)); 2811 if (extensions::BackgroundInfo::HasPersistentBackgroundPage(old)) {
|
/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
H A D | context_menus_api.cc | 162 if (BackgroundInfo::HasLazyBackgroundPage(GetExtension())) { 186 if (BackgroundInfo::HasLazyBackgroundPage(GetExtension()) &&
|
/external/chromium_org/chrome/browser/extensions/api/autotest_private/ |
H A D | autotest_private_api.cc | 180 extensions::BackgroundInfo::GetBackgroundURL(extension).spec());
|
/external/chromium_org/chrome/renderer/extensions/ |
H A D | event_bindings.cc | 317 return (extension && BackgroundInfo::HasLazyBackgroundPage(extension) &&
|
H A D | dispatcher.cc | 336 return (extension && BackgroundInfo::HasLazyBackgroundPage(extension) && 1160 BackgroundInfo::HasLazyBackgroundPage(extension)); 1669 if (extension && BackgroundInfo::HasLazyBackgroundPage(extension) &&
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
H A D | file_browser_handlers.cc | 328 !extensions::BackgroundInfo::HasLazyBackgroundPage(extension_.get())) {
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
H A D | input_method_engine_browsertests.cc | 250 extensions::BackgroundInfo::GetBackgroundURL(extension_).path(),
|
/external/chromium_org/chrome/browser/extensions/api/alarms/ |
H A D | alarms_api_unittest.cc | 67 AddTab(browser(), BackgroundInfo::GetBackgroundURL(extension_.get()));
|
/external/chromium_org/chrome/browser/extensions/api/runtime/ |
H A D | runtime_api.cc | 102 if (extension && BackgroundInfo::HasPersistentBackgroundPage(extension) &&
|