Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1612)

Unified Diff: chrome/browser/extensions/extension_util.cc

Issue 2944283002: Replace --add-to-shelf flag with kAppBanners feature. (Closed)
Patch Set: Rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/banners/app_banner_manager_desktop.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_util.cc
diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
index 001061a894155f09683b37af44db600a7ad47c15..86ff2ebe5d8d3f3214413c4ade654f7ba7a72026 100644
--- a/chrome/browser/extensions/extension_util.cc
+++ b/chrome/browser/extensions/extension_util.cc
@@ -298,7 +298,8 @@ const gfx::ImageSkia& GetDefaultExtensionIcon() {
bool IsNewBookmarkAppsEnabled() {
#if defined(OS_MACOSX)
- return base::FeatureList::IsEnabled(features::kBookmarkApps);
+ return base::FeatureList::IsEnabled(features::kBookmarkApps) ||
+ base::FeatureList::IsEnabled(features::kAppBanners);
#else
return true;
#endif
« no previous file with comments | « chrome/browser/banners/app_banner_manager_desktop.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698