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

Issue 2682803003: Gtk3: Add themable location bar border color (Closed)

Created:
3 years, 10 months ago by Tom (Use chromium acct)
Modified:
3 years, 9 months ago
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Gtk3: Add themable location bar border color This CL fixes the HighContrastInverse theme on Linux so it looks like: https://bugs.chromium.org/p/chromium/issues/detail?id=689769#c1 BUG=689769 R=pkasting@chromium.org,estade@chromium.org,erg@chromium.org Review-Url: https://codereview.chromium.org/2682803003 Cr-Commit-Position: refs/heads/master@{#449227} Committed: https://chromium.googlesource.com/chromium/src/+/307f9f29d879afce43fe94d03616ef3c7a87971d

Patch Set 1 #

Patch Set 2 : Set upstream branch #

Total comments: 4

Patch Set 3 : Rename new theme property #

Total comments: 2

Patch Set 4 : add location_bar_border_color local #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -21 lines) Patch
M chrome/browser/themes/theme_properties.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtkui/gtk_ui.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 6 chunks +13 lines, -15 lines 2 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 19 (7 generated)
Tom (Use chromium acct)
reviewers PTAL pkasting: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc chrome/browser/ui/views/location_bar/location_bar_view.cc chrome/browser/ui/views/location_bar/location_bar_view.h estade: chrome/browser/themes/theme_properties.h chrome/browser/themes/theme_service.cc erg: chrome/browser/ui/libgtkui/gtk_ui.cc
3 years, 10 months ago (2017-02-08 01:55:27 UTC) #2
Evan Stade
what does this look like before/after with a more normal gtk theme? https://codereview.chromium.org/2682803003/diff/20001/chrome/browser/themes/theme_properties.h File chrome/browser/themes/theme_properties.h ...
3 years, 10 months ago (2017-02-08 16:31:13 UTC) #3
Tom (Use chromium acct)
On 2017/02/08 16:31:13, Evan Stade wrote: > what does this look like before/after with a ...
3 years, 10 months ago (2017-02-08 19:28:37 UTC) #4
Elliot Glaysher
On 2017/02/08 19:28:37, Tom Anderson wrote: > On 2017/02/08 16:31:13, Evan Stade wrote: > > ...
3 years, 10 months ago (2017-02-08 20:05:49 UTC) #5
Tom (Use chromium acct)
-pkasting since he's OOO, and +sky for chrome/browser/ui/views/frame/opaque_browser_frame_view.cc chrome/browser/ui/views/location_bar/location_bar_view.cc chrome/browser/ui/views/location_bar/location_bar_view.h https://codereview.chromium.org/2682803003/diff/20001/chrome/browser/themes/theme_properties.h File chrome/browser/themes/theme_properties.h (right): https://codereview.chromium.org/2682803003/diff/20001/chrome/browser/themes/theme_properties.h#newcode93 ...
3 years, 10 months ago (2017-02-08 21:20:27 UTC) #7
sky
LGTM https://codereview.chromium.org/2682803003/diff/40001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc File chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (right): https://codereview.chromium.org/2682803003/diff/40001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode650 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:650: browser_view()->toolbar()->location_bar()->GetOpaqueBorderColor( optional: this is a bit unwieldy to ...
3 years, 10 months ago (2017-02-08 23:25:55 UTC) #8
Elliot Glaysher
gtk_ui lgtm
3 years, 10 months ago (2017-02-08 23:27:38 UTC) #9
Evan Stade
lgtm
3 years, 10 months ago (2017-02-08 23:57:31 UTC) #10
Tom (Use chromium acct)
https://codereview.chromium.org/2682803003/diff/40001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc File chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (right): https://codereview.chromium.org/2682803003/diff/40001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode650 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:650: browser_view()->toolbar()->location_bar()->GetOpaqueBorderColor( On 2017/02/08 23:25:55, sky wrote: > optional: this ...
3 years, 10 months ago (2017-02-09 05:22:15 UTC) #11
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/2682803003/60001
3 years, 10 months ago (2017-02-09 05:22:51 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/307f9f29d879afce43fe94d03616ef3c7a87971d
3 years, 10 months ago (2017-02-09 06:33:54 UTC) #17
Peter Kasting
3 years, 10 months ago (2017-02-11 10:18:46 UTC) #19
Message was sent while issue was closed.
Belated LGTM but make member functions const

https://codereview.chromium.org/2682803003/diff/60001/chrome/browser/ui/views...
File chrome/browser/ui/views/location_bar/location_bar_view.cc (right):

https://codereview.chromium.org/2682803003/diff/60001/chrome/browser/ui/views...
chrome/browser/ui/views/location_bar/location_bar_view.cc:294: SkColor
LocationBarView::GetOpaqueBorderColor(bool incognito) {
Should be const

https://codereview.chromium.org/2682803003/diff/60001/chrome/browser/ui/views...
chrome/browser/ui/views/location_bar/location_bar_view.cc:665: SkColor
LocationBarView::GetBorderColor() {
Should be const

Powered by Google App Engine
This is Rietveld 408576698