Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Issue 893483002: Make infobars hide on scroll (Closed)

Created:
5 years, 10 months ago by gone
Modified:
5 years, 10 months ago
Reviewers:
Ted C, newt (away)
CC:
chromium-reviews, David Trainor- moved to gerrit, avayvod+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/4ee2b04213697a13fa7efba80434435529d3ec90 Cr-Commit-Position: refs/heads/master@{#313987}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Observer #

Total comments: 2

Patch Set 3 : More observer funny business #

Patch Set 4 : Observer removal #

Messages

Total messages: 13 (2 generated)
gone
5 years, 10 months ago (2015-01-30 02:05:58 UTC) #2
newt (away)
My main concern: I'm not convinced that SwipableOverlayView will unregister itself as an observer correctly ...
5 years, 10 months ago (2015-01-30 18:56:10 UTC) #3
gone
Yeah, it shouldn't be any different from the InfoBarContainer, though, where there's one per tab. ...
5 years, 10 months ago (2015-01-30 19:01:24 UTC) #4
newt (away)
https://codereview.chromium.org/893483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java (right): https://codereview.chromium.org/893483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java#newcode215 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java:215: protected TabObserver createTabObserver() { On 2015/01/30 19:01:24, dfalcantara wrote: ...
5 years, 10 months ago (2015-01-30 19:13:04 UTC) #5
gone
https://codereview.chromium.org/893483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java (right): https://codereview.chromium.org/893483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java#newcode215 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java:215: protected TabObserver createTabObserver() { On 2015/01/30 19:13:04, newt wrote: ...
5 years, 10 months ago (2015-01-30 19:33:03 UTC) #6
newt (away)
Happier :) lgtm modulo my comment in DomDistillerFeedbackReportingView.java https://codereview.chromium.org/893483002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java File chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java (right): https://codereview.chromium.org/893483002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java#newcode71 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java:71: view.observeTab(tab); ...
5 years, 10 months ago (2015-01-30 19:44:40 UTC) #7
gone
Yeah, the Contextual Search thing doesn't interact well at all with the banners. I changed ...
5 years, 10 months ago (2015-01-30 20:04:42 UTC) #8
newt (away)
lgtm
5 years, 10 months ago (2015-01-30 20:07:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/893483002/60001
5 years, 10 months ago (2015-01-30 20:09:52 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-01-30 20:47:20 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 20:49:53 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4ee2b04213697a13fa7efba80434435529d3ec90
Cr-Commit-Position: refs/heads/master@{#313987}

Powered by Google App Engine
This is Rietveld 408576698