Implement app banner info bars on desktop.
commit4d15cab83cf46e1e5b90b30541911c108b20c8d6
authordominickn <dominickn@google.com>
Fri, 5 Jun 2015 01:42:13 +0000 (4 18:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Jun 2015 01:42:47 +0000 (5 01:42 +0000)
treef91bf4fa78a6952557a9ac3ce8cdb08a463c6510
parentb3518a5fb8cf9c82cd1fb62e1f178db561c066dc
Implement app banner info bars on desktop.

This CL extends the app banner implementation to work on desktop,
enabled with the flag --enable-add-to-shelf. With this flag active,
users will be prompted with an infobar to add a site to their shelf
once they have engaged with it to some substantive amount (subject to
heuristics currently implemented for the mobile add to homescreen
banner).

Note: the icon used is a placeholder to be updated later.

BUG=491001

Review URL: https://codereview.chromium.org/1161233005

Cr-Commit-Position: refs/heads/master@{#332988}
22 files changed:
chrome/app/generated_resources.grd
chrome/app/theme/theme_resources.grd
chrome/browser/android/banners/app_banner_data_fetcher_android.cc
chrome/browser/android/banners/app_banner_data_fetcher_android.h
chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
chrome/browser/banners/app_banner_data_fetcher.cc
chrome/browser/banners/app_banner_data_fetcher.h
chrome/browser/banners/app_banner_data_fetcher_browsertest.cc
chrome/browser/banners/app_banner_data_fetcher_desktop.cc [new file with mode: 0644]
chrome/browser/banners/app_banner_data_fetcher_desktop.h [new file with mode: 0644]
chrome/browser/banners/app_banner_infobar_delegate_desktop.cc [new file with mode: 0644]
chrome/browser/banners/app_banner_infobar_delegate_desktop.h [new file with mode: 0644]
chrome/browser/banners/app_banner_manager.cc
chrome/browser/banners/app_banner_manager.h
chrome/browser/banners/app_banner_manager_desktop.cc [new file with mode: 0644]
chrome/browser/banners/app_banner_manager_desktop.h [new file with mode: 0644]
chrome/browser/banners/app_banner_settings_helper.cc
chrome/browser/banners/app_banner_settings_helper.h
chrome/browser/extensions/bookmark_app_helper.cc
chrome/browser/extensions/bookmark_app_helper.h
chrome/browser/ui/tab_helpers.cc
chrome/chrome_browser.gypi