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

Issue 1587403002: Max-width, floating infobars. (Closed)

Created:
4 years, 11 months ago by newt (away)
Modified:
4 years, 11 months ago
Reviewers:
gone
CC:
chromium-reviews, dfalcantara+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Max-width, floating infobars. This adds a width restriction on infobars. If the webpage is wider than the infobar max width (600dp), the infobars will "float" in the middle bottom of the page with shadows on the left, top, and right edges of each infobar. BUG=396223 Committed: https://crrev.com/09a677695eeb5a3631cf50386cbb612e3da0b833 Cr-Commit-Position: refs/heads/master@{#370740}

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : rebase #

Patch Set 4 : addressed comments from #1 #

Total comments: 1

Patch Set 5 : rebased #

Patch Set 6 : final shadow assets and dimens #

Patch Set 7 : suppress lint warning about using left/right instead of start/end for shadows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -136 lines) Patch
D chrome/android/java/res/drawable-hdpi/infobar_shadow.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-hdpi/infobar_shadow_left.9.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-hdpi/infobar_shadow_top.png View 1 2 3 4 5 Binary file 0 comments Download
D chrome/android/java/res/drawable-mdpi/infobar_shadow.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-mdpi/infobar_shadow_left.9.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-mdpi/infobar_shadow_top.png View 1 2 3 4 5 Binary file 0 comments Download
D chrome/android/java/res/drawable-xhdpi/infobar_shadow.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-xhdpi/infobar_shadow_left.9.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-xhdpi/infobar_shadow_top.png View 1 2 3 4 5 Binary file 0 comments Download
D chrome/android/java/res/drawable-xxhdpi/infobar_shadow.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-xxhdpi/infobar_shadow_left.9.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-xxhdpi/infobar_shadow_top.png View 1 2 3 4 5 Binary file 0 comments Download
D chrome/android/java/res/drawable-xxxhdpi/infobar_shadow.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-xxxhdpi/infobar_shadow_left.9.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/android/java/res/drawable-xxxhdpi/infobar_shadow_top.png View 1 2 3 4 5 Binary file 0 comments Download
D chrome/android/java/res/drawable/infobar_bg.xml View 1 chunk +0 lines, -16 lines 0 comments Download
A + chrome/android/java/res/drawable/infobar_wrapper_bg.xml View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
D chrome/android/java/res/layout/infobar_wrapper.xml View 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 3 4 5 2 chunks +10 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainerLayout.java View 1 2 3 4 5 6 17 chunks +234 lines, -96 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarWrapper.java View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
newt (away)
PTAL
4 years, 11 months ago (2016-01-15 01:08:23 UTC) #3
newt (away)
PTAL
4 years, 11 months ago (2016-01-15 01:08:23 UTC) #4
newt (away)
Note: assets aren't finalized (only xxhdpi versions are available currently, waiting on the other resolutions) ...
4 years, 11 months ago (2016-01-15 01:13:39 UTC) #5
gone
https://chromiumcodereview.appspot.com/1587403002/diff/20001/chrome/android/java/res/drawable/infobar_wrapper_bg.xml File chrome/android/java/res/drawable/infobar_wrapper_bg.xml (right): https://chromiumcodereview.appspot.com/1587403002/diff/20001/chrome/android/java/res/drawable/infobar_wrapper_bg.xml#newcode14 chrome/android/java/res/drawable/infobar_wrapper_bg.xml:14: android:top="9dp" Should this value be replaced with @drawable/infobar_shadow_top? https://chromiumcodereview.appspot.com/1587403002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainerLayout.java ...
4 years, 11 months ago (2016-01-15 22:48:38 UTC) #6
newt (away)
https://chromiumcodereview.appspot.com/1587403002/diff/20001/chrome/android/java/res/drawable/infobar_wrapper_bg.xml File chrome/android/java/res/drawable/infobar_wrapper_bg.xml (right): https://chromiumcodereview.appspot.com/1587403002/diff/20001/chrome/android/java/res/drawable/infobar_wrapper_bg.xml#newcode14 chrome/android/java/res/drawable/infobar_wrapper_bg.xml:14: android:top="9dp" On 2016/01/15 22:48:38, dfalcantara wrote: > Should this ...
4 years, 11 months ago (2016-01-15 23:47:33 UTC) #7
gone
lgtm
4 years, 11 months ago (2016-01-16 00:11:57 UTC) #8
newt (away)
Danke! Just waiting for assets now...
4 years, 11 months ago (2016-01-16 00:23:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1587403002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1587403002/100001
4 years, 11 months ago (2016-01-20 21:54:56 UTC) #12
newt (away)
Assets have arrived! Landing now...
4 years, 11 months ago (2016-01-20 21:56:45 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/11234)
4 years, 11 months ago (2016-01-20 22:36:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1587403002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1587403002/120001
4 years, 11 months ago (2016-01-21 18:17:32 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2016-01-21 18:58:38 UTC) #19
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 18:59:54 UTC) #21
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/09a677695eeb5a3631cf50386cbb612e3da0b833
Cr-Commit-Position: refs/heads/master@{#370740}

Powered by Google App Engine
This is Rietveld 408576698