Searched refs:BackgroundInfo (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/extensions/common/manifest_handlers/
H A Dbackground_info.cc35 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 Dbackground_info.h18 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 Dextension_manifests_background_unittest.cc41 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 Dlazy_background_task_queue.cc46 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 Dprocess_manager.cc99 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 Devent_router.cc632 if (BackgroundInfo::HasLazyBackgroundPage(extension)) {
652 BackgroundInfo::HasLazyBackgroundPage(host->extension()))
685 if (BackgroundInfo::HasLazyBackgroundPage(extension)) {
/external/chromium_org/chrome/browser/background/
H A Dbackground_contents_service.cc60 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 Dbackground_application_list_model.cc314 if (extensions::BackgroundInfo::HasBackgroundPage(&extension))
/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dextension_message_port.cc62 if (host && BackgroundInfo::HasLazyBackgroundPage(host->extension()))
H A Dmessage_service.cc639 if (!BackgroundInfo::HasLazyBackgroundPage(extension))
/external/chromium_org/chrome/browser/extensions/api/developer_private/
H A Ddeveloper_private_api.cc393 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 Dextension_settings_handler.cc1122 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 Dextension_host.cc157 extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) {
275 if (extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) {
H A Dinstalled_loader.cc109 if (!BackgroundInfo::HasBackgroundPage(extension))
111 if (BackgroundInfo::HasPersistentBackgroundPage(extension))
H A Dmenu_manager.cc759 if (!BackgroundInfo::HasLazyBackgroundPage(extension))
815 if (store_ && BackgroundInfo::HasLazyBackgroundPage(extension)) {
H A Dextension_protocols.cc210 extensions::BackgroundInfo::GetBackgroundScripts(extension_.get());
H A Dextension_service.cc1079 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 Dcontext_menus_api.cc162 if (BackgroundInfo::HasLazyBackgroundPage(GetExtension())) {
186 if (BackgroundInfo::HasLazyBackgroundPage(GetExtension()) &&
/external/chromium_org/chrome/browser/extensions/api/autotest_private/
H A Dautotest_private_api.cc180 extensions::BackgroundInfo::GetBackgroundURL(extension).spec());
/external/chromium_org/chrome/renderer/extensions/
H A Devent_bindings.cc317 return (extension && BackgroundInfo::HasLazyBackgroundPage(extension) &&
H A Ddispatcher.cc336 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 Dfile_browser_handlers.cc328 !extensions::BackgroundInfo::HasLazyBackgroundPage(extension_.get())) {
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dinput_method_engine_browsertests.cc250 extensions::BackgroundInfo::GetBackgroundURL(extension_).path(),
/external/chromium_org/chrome/browser/extensions/api/alarms/
H A Dalarms_api_unittest.cc67 AddTab(browser(), BackgroundInfo::GetBackgroundURL(extension_.get()));
/external/chromium_org/chrome/browser/extensions/api/runtime/
H A Druntime_api.cc102 if (extension && BackgroundInfo::HasPersistentBackgroundPage(extension) &&

Completed in 430 milliseconds

12