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

Issue 2274973004: Fix security icon colors on light themes (Closed)

Created:
4 years, 3 months ago by estark
Modified:
4 years, 3 months ago
Reviewers:
Ted C, Yusuf
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix security icon colors on light themes Security icon colors on Chrome for Android and Chrome Custom Tabs should be as follows: 1. Default toolbar color => green lock/red triangle 2. Dark toolbar color => white icons 3. Light toolbar color with opaque omnibox => green/red 4. Other toolbar color with transparent omnibox => dark icons #1 and #2 were already working properly; this CL implements #3 and #4. BUG=633736 TEST=On Chrome for Android, visit the following URLs and observe the given security icon colors: 1. https://google.com => green lock 2. https://yahoo.com => white lock 3. https://just-skyline-137219.appspot.com/lightblue => opaque omnibox with green lock 4. https://garron.net/test/theme-color/?color=%2300ffff => transparent omnibox with dark lock In a CCT client app, set the toolbar color to the following colors and then visit https://www.google.com: 1. Default => green lock 2. #ef6c00 => white lock 3. #ffffcc => dark lock 4. #66ffff => dark lock Committed: https://crrev.com/cf4299907423c27d40182d17099d54a2e97e154c Cr-Commit-Position: refs/heads/master@{#414897}

Patch Set 1 #

Total comments: 7

Patch Set 2 : indentation fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java View 1 2 chunks +13 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
estark
yusufo, PTAL
4 years, 3 months ago (2016-08-25 19:59:31 UTC) #5
estark
Also +tedchoc for LocationBarLayout.java
4 years, 3 months ago (2016-08-25 19:59:58 UTC) #7
Yusuf
https://codereview.chromium.org/2274973004/diff/1/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/2274973004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java#newcode511 chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java:511: LocationBarLayout.getColorStateList(securityLevel, getToolbarDataProvider(), I am confused about this working right. ...
4 years, 3 months ago (2016-08-25 20:04:18 UTC) #8
estark
https://codereview.chromium.org/2274973004/diff/1/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/2274973004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java#newcode511 chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java:511: LocationBarLayout.getColorStateList(securityLevel, getToolbarDataProvider(), On 2016/08/25 20:04:18, Yusuf wrote: > I ...
4 years, 3 months ago (2016-08-25 20:14:39 UTC) #9
Yusuf
https://codereview.chromium.org/2274973004/diff/1/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/2274973004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java#newcode511 chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java:511: LocationBarLayout.getColorStateList(securityLevel, getToolbarDataProvider(), On 2016/08/25 20:14:39, estark wrote: > On ...
4 years, 3 months ago (2016-08-25 20:25:24 UTC) #10
Ted C
lgtm w/ one nit and one suggestion (but I'll defer to you to what you ...
4 years, 3 months ago (2016-08-26 22:54:31 UTC) #13
estark
Thanks! https://codereview.chromium.org/2274973004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java (right): https://codereview.chromium.org/2274973004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java#newcode1233 chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java:1233: Resources resources, boolean isOmniboxOpaque) { On 2016/08/26 22:54:31, ...
4 years, 3 months ago (2016-08-27 05:32:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2274973004/20001
4 years, 3 months ago (2016-08-27 05:33:43 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-27 10:44:16 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-08-27 10:47:30 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cf4299907423c27d40182d17099d54a2e97e154c
Cr-Commit-Position: refs/heads/master@{#414897}

Powered by Google App Engine
This is Rietveld 408576698