Make infobars hide on scroll
commit4ee2b04213697a13fa7efba80434435529d3ec90
authordfalcantara <dfalcantara@chromium.org>
Fri, 30 Jan 2015 20:46:52 +0000 (30 12:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 30 Jan 2015 20:49:21 +0000 (30 20:49 +0000)
tree1b72b6427e70d9059e540e173f392a46400deb76
parentf85f099e5bd3d9c61f4a6cd0e3c2f35cbb3bfe1e
Make infobars hide on scroll

* Makes it so that infobars hide when scrolling the page and
  return at the top of the page.

* SwipableOverlayView is now the base class of InfoBarContainer
  and now extends from ScrollLayout.

* Adds way to disable the SwipableOverlayView from being swiped
  away.

* AppBannerView (which is going away soon) is adjusted to account
  for the new ScrollLayout requirement of having only one child.

BUG=453170

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

Cr-Commit-Position: refs/heads/master@{#313987}
chrome/android/java/res/layout/app_banner_view.xml
chrome/android/java/src/org/chromium/chrome/browser/Tab.java
chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java
chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java
chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReporter.java
chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java
chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java