diff options
author | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 21:38:15 +0000 |
---|---|---|
committer | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 21:38:15 +0000 |
commit | a7c94bc9887ce9ab4afbaa7149b403db81940cac (patch) | |
tree | a2cc73c7560acb582769a4f78dfb3b5e18fa609c /apps/pref_names.cc | |
parent | 6c6361d31df0f6397092bba0659230bcad7ef88c (diff) | |
download | chromium_src-a7c94bc9887ce9ab4afbaa7149b403db81940cac.zip chromium_src-a7c94bc9887ce9ab4afbaa7149b403db81940cac.tar.gz chromium_src-a7c94bc9887ce9ab4afbaa7149b403db81940cac.tar.bz2 |
Add a new App launcher promo to the apps page / NTP.
Simple change in chrome/browser/chrome_browser_main.cc
TBR=ben@chromium.org
BUG=180475
TEST=Make sure the apps promo only show on apps page of the NTP (or chrome://apps) and that it links to webstore (specific page to be added later on the webstore) and that it doesn't come back on a given installation of Chrome once dismissed with the X close button. That dimiss state can be reset with the command line switch --reset-show-apps-promo to help test it. Also, this shouldn't show when the App Launcher is installer... since no apps page should be shown anyway (tested with --show-app-list-shortcut)
Review URL: https://chromiumcodereview.appspot.com/12985002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190772 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/pref_names.cc')
-rw-r--r-- | apps/pref_names.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/pref_names.cc b/apps/pref_names.cc index d4ac6fa..cb1cf93 100644 --- a/apps/pref_names.cc +++ b/apps/pref_names.cc @@ -21,6 +21,9 @@ const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; const char kAppLaunchForMetroRestartProfile[] = "apps.app_launch_for_metro_restart_profile"; +// A boolean identifying if we should show the app launcher promo or not. +const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; + } // namespace prefs } // namespace apps |