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

Issue 1874953003: Progress bar color is based on toolbar color (Closed)

Created:
4 years, 8 months ago by mdjones
Modified:
4 years, 7 months ago
Reviewers:
Yusuf, gone
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@progressbar-improvements-final
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Progress bar color is based on toolbar color BUG=464377 Committed: https://crrev.com/a527a68340e73807a9c0e12338b4d9122f25a395 Cr-Commit-Position: refs/heads/master@{#391148}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add different method for custom progress bar #

Patch Set 3 : use more complete spec #

Patch Set 4 : fix background color after crash #

Patch Set 5 : custom tabs and contrast #

Patch Set 6 : nit #

Patch Set 7 : fix incognito #

Total comments: 18

Patch Set 8 : address comments #

Patch Set 9 : get color from ColorDrawable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -41 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java View 1 2 3 4 5 6 3 chunks +10 lines, -14 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/util/ColorUtils.java View 1 2 3 4 5 6 7 7 chunks +54 lines, -19 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/widget/ToolbarProgressBar.java View 1 2 3 4 5 6 7 4 chunks +40 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (4 generated)
mdjones
ptal
4 years, 8 months ago (2016-04-11 23:09:19 UTC) #2
Yusuf
https://codereview.chromium.org/1874953003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java (right): https://codereview.chromium.org/1874953003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java#newcode2010 chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java:2010: ColorUtils.getDarkenedColorForStatusBar(currentPrimaryColor); the name of the utility is a bit ...
4 years, 8 months ago (2016-04-12 20:09:27 UTC) #3
mdjones
https://codereview.chromium.org/1874953003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java (right): https://codereview.chromium.org/1874953003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java#newcode2010 chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java:2010: ColorUtils.getDarkenedColorForStatusBar(currentPrimaryColor); On 2016/04/12 20:09:27, Yusuf wrote: > the name ...
4 years, 8 months ago (2016-04-13 00:47:35 UTC) #4
mdjones
+dfalcantara for ColorUtils
4 years, 8 months ago (2016-04-21 17:44:00 UTC) #6
gone
lgtm
4 years, 8 months ago (2016-04-21 17:54:08 UTC) #7
mdjones
Got a better spec from design. Please take another look. I have a pretty naive ...
4 years, 7 months ago (2016-04-27 21:37:40 UTC) #8
Yusuf
https://codereview.chromium.org/1874953003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java (right): https://codereview.chromium.org/1874953003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java#newcode369 chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java:369: if (!isUsingDefaultToolbarColor(getToolbarDataProvider().getPrimaryColor())) { I would use getBackgroundColor on the ...
4 years, 7 months ago (2016-04-28 06:53:55 UTC) #9
mdjones
https://codereview.chromium.org/1874953003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java (right): https://codereview.chromium.org/1874953003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java#newcode369 chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java:369: if (!isUsingDefaultToolbarColor(getToolbarDataProvider().getPrimaryColor())) { On 2016/04/28 06:53:55, Yusuf wrote: > ...
4 years, 7 months ago (2016-04-29 22:47:55 UTC) #10
Yusuf
One comment only. Once we get this, this is good to go as far as ...
4 years, 7 months ago (2016-05-02 21:16:56 UTC) #11
mdjones
https://codereview.chromium.org/1874953003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java (right): https://codereview.chromium.org/1874953003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java#newcode369 chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java:369: if (!isUsingDefaultToolbarColor(getToolbarDataProvider().getPrimaryColor())) { On 2016/05/02 21:16:56, Yusuf wrote: > ...
4 years, 7 months ago (2016-05-03 00:16:58 UTC) #12
Yusuf
lgtm
4 years, 7 months ago (2016-05-03 00:41:11 UTC) #13
gone
Still lgtm.
4 years, 7 months ago (2016-05-03 00:44:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874953003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874953003/160001
4 years, 7 months ago (2016-05-03 00:54:26 UTC) #16
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 7 months ago (2016-05-03 01:36:21 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 01:38:03 UTC) #19
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/a527a68340e73807a9c0e12338b4d9122f25a395
Cr-Commit-Position: refs/heads/master@{#391148}

Powered by Google App Engine
This is Rietveld 408576698