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

Issue 2513083002: [Mac] Fixed the incognito omnibox icon background color (Closed)

Created:
4 years, 1 month ago by spqchan
Modified:
4 years, 1 month ago
Reviewers:
Robert Sesek, shrike
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Fixed the incognito omnibox icon background color BUG=588377 Committed: https://crrev.com/40b30591e4bb05a0f5fcf4ea85708927ab177c45 Cr-Commit-Position: refs/heads/master@{#433338}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm View 2 chunks +3 lines, -3 lines 3 comments Download

Messages

Total messages: 19 (10 generated)
spqchan
PTAL
4 years, 1 month ago (2016-11-18 21:55:16 UTC) #7
Robert Sesek
LGTM
4 years, 1 month ago (2016-11-18 21:55:59 UTC) #8
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/2513083002/1
4 years, 1 month ago (2016-11-18 23:45:19 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-18 23:59:48 UTC) #12
shrike
https://codereview.chromium.org/2513083002/diff/1/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm File chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm (left): https://codereview.chromium.org/2513083002/diff/1/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm#oldcode180 chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm:180: in_dark_mode ? kHoverDarkBackgroundColor : kHoverBackgroundColor; This line computes the ...
4 years, 1 month ago (2016-11-19 00:01:23 UTC) #14
Robert Sesek
https://codereview.chromium.org/2513083002/diff/1/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm File chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm (left): https://codereview.chromium.org/2513083002/diff/1/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm#oldcode180 chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm:180: in_dark_mode ? kHoverDarkBackgroundColor : kHoverBackgroundColor; On 2016/11/19 00:01:23, shrike ...
4 years, 1 month ago (2016-11-19 00:02:43 UTC) #15
shrike
On 2016/11/19 00:02:43, Robert Sesek wrote: > https://codereview.chromium.org/2513083002/diff/1/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm > File chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm (left): > > https://codereview.chromium.org/2513083002/diff/1/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm#oldcode180 ...
4 years, 1 month ago (2016-11-19 00:04:44 UTC) #16
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/40b30591e4bb05a0f5fcf4ea85708927ab177c45 Cr-Commit-Position: refs/heads/master@{#433338}
4 years, 1 month ago (2016-11-19 00:05:30 UTC) #18
spqchan
4 years, 1 month ago (2016-11-19 00:09:05 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/2513083002/diff/1/chrome/browser/ui/cocoa/loc...
File chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm (left):

https://codereview.chromium.org/2513083002/diff/1/chrome/browser/ui/cocoa/loc...
chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm:180:
in_dark_mode ? kHoverDarkBackgroundColor : kHoverBackgroundColor;
On 2016/11/19 00:02:42, Robert Sesek wrote:
> On 2016/11/19 00:01:23, shrike wrote:
> > This line computes the Pressed state color (based on the if statement) but
> here
> > you are returning the hover color. As a result, when I run it the hover
state
> is
> > lighter than the pressed state.
> 
> I'd expect hover to be lighter than pressed?

I can't reproduce that. It's matching the specs for me

Powered by Google App Engine
This is Rietveld 408576698