Create a skeleton AppBannerManager class
commite3c307972900d802c2bb4b68d2d2f29fc21e94f2
authordfalcantara@chromium.org <dfalcantara@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 13 Feb 2014 21:47:08 +0000 (13 21:47 +0000)
committerdfalcantara@chromium.org <dfalcantara@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 13 Feb 2014 21:47:08 +0000 (13 21:47 +0000)
tree05bf1b2556f6dc4e61e5f630b4a9f2af4019ff93
parent9eba93a294ccc08160be066c011f90bcae07bc00
Create a skeleton AppBannerManager class

* Adds an AppBannerManager that will be used to manage a single
  AppBannerView.
* Each AppBannerManager is owned by a particular TabBase and is
  alerted to changes its TabBase by a TabObserver.
  The TabObserver's main use is to update the AppBannerManager
  when the WebContents has changed.

Note that this class is a skeleton: most of the real functionality
(like creating a AppBannerView) has been parted off.

BUG=341556

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251136 0039d316-1c4b-4281-b951-d872f2087c98
chrome/android/java/src/org/chromium/chrome/browser/TabBase.java
chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java [new file with mode: 0644]
chrome/browser/android/banners/OWNERS [new file with mode: 0644]
chrome/browser/android/banners/app_banner_manager.cc [new file with mode: 0644]
chrome/browser/android/banners/app_banner_manager.h [new file with mode: 0644]
chrome/browser/android/chrome_jni_registrar.cc
chrome/chrome_browser.gypi