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

Unified Diff: chrome/browser/android/banners/app_banner_manager.h

Issue 941823002: [App banners] Add server-controlled experiment to disable app banners (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add flag BACK to about:flags, use it to disable half of the feature Created 5 years, 10 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
Index: chrome/browser/android/banners/app_banner_manager.h
diff --git a/chrome/browser/android/banners/app_banner_manager.h b/chrome/browser/android/banners/app_banner_manager.h
index 7b42ff5222fb231fc3edeb44eb8a7509c0097af4..d4f7c2645e979608850a6719de862ea0bba267ec 100644
--- a/chrome/browser/android/banners/app_banner_manager.h
+++ b/chrome/browser/android/banners/app_banner_manager.h
@@ -113,6 +113,9 @@ class AppBannerManager : public content::WebContentsObserver {
// Cancels an active BitmapFetcher, stopping its banner from appearing.
void CancelActiveFetcher();
+ // Whether or not the banners should appear for native apps.
+ static bool IsEnabledForNativeApps();
+
// Icon size that we want to be use for the launcher.
const int preferred_icon_size_;

Powered by Google App Engine
This is Rietveld 408576698