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 /chrome/browser/resources/ntp4/new_tab.html | |
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 'chrome/browser/resources/ntp4/new_tab.html')
-rw-r--r-- | chrome/browser/resources/ntp4/new_tab.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/resources/ntp4/new_tab.html b/chrome/browser/resources/ntp4/new_tab.html index e5bb3e3..99f8fa7 100644 --- a/chrome/browser/resources/ntp4/new_tab.html +++ b/chrome/browser/resources/ntp4/new_tab.html @@ -93,6 +93,17 @@ </div> </div> + <div id="app-launcher-promo" hidden> + <div class="apps-promo-text" i18n-content="appsPromoTitle"></div> + <a href="https://chrome.google.com/webstore/launcher" + class="apps-promo-learn-more" i18n-content="learn_more"> + </a> + <img src="app_launcher_promo.png"> + <button class="close-button custom-appearance" + id="app-launcher-promo-close-button"> + </button> + </div> + <div id="footer"> <div id="footer-border"></div> <div id="footer-content"> |