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

Issue 2051123002: Make COLOR_CONTROL_BACKGROUND customizable from a theme extension (Closed)

Created:
4 years, 6 months ago by Julien Isorce Samsung
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make COLOR_CONTROL_BACKGROUND customizable from a theme extension Since https://codereview.chromium.org/63173016/patch/430001/440015 it is not possible to customize the background of BrowserView's contents container. Indeed it was previously relying on COLOR_TOOLBAR and that change made it rely on COLOR_CONTROL_BACKGROUND. BUG=618335 R=pkasting@chromium.org TEST=./out/Release/unit_tests --gtest_filter=*CanBuildAndReadPack*

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase and increase kThemePackVersion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M chrome/browser/themes/browser_theme_pack.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/themes/browser_theme_pack_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/themes/theme_properties.h View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/test/data/profiles/profile_with_complex_theme/Default/Extensions/mblmlcbknbnfebdfjnolmcapmdofhmme/1.1/manifest.json View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051123002/1
4 years, 6 months ago (2016-06-09 14:47:27 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-09 16:34:16 UTC) #5
Julien Isorce Samsung
On 2016/06/09 16:34:16, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 6 months ago (2016-06-09 20:41:11 UTC) #6
Peter Kasting
Did you find out why the relevant color was changed away from COLOR_TOOLBAR? I wasn't ...
4 years, 6 months ago (2016-06-10 01:12:25 UTC) #7
dgozman
On 2016/06/10 01:12:25, Peter Kasting wrote: > Did you find out why the relevant color ...
4 years, 6 months ago (2016-06-10 05:35:52 UTC) #8
Peter Kasting
On 2016/06/10 05:35:52, dgozman_slow wrote: > On 2016/06/10 01:12:25, Peter Kasting wrote: > > Did ...
4 years, 6 months ago (2016-06-10 05:42:09 UTC) #9
Julien Isorce Samsung
On 2016/06/10 05:42:09, Peter Kasting wrote: > On 2016/06/10 05:35:52, dgozman_slow wrote: > > On ...
4 years, 6 months ago (2016-06-10 09:01:13 UTC) #10
Julien Isorce Samsung
https://codereview.chromium.org/2051123002/diff/1/chrome/browser/themes/browser_theme_pack_unittest.cc File chrome/browser/themes/browser_theme_pack_unittest.cc (left): https://codereview.chromium.org/2051123002/diff/1/chrome/browser/themes/browser_theme_pack_unittest.cc#oldcode250 chrome/browser/themes/browser_theme_pack_unittest.cc:250: // Make sure we don't have phantom data. On ...
4 years, 6 months ago (2016-06-10 09:51:38 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051123002/20001
4 years, 6 months ago (2016-06-10 09:53:28 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-10 10:52:44 UTC) #15
Peter Kasting
COLOR_CONTROL_BACKGROUND defaults to the toolbar color on Linux but to white on other views platforms. ...
4 years, 6 months ago (2016-06-10 23:56:05 UTC) #17
Evan Stade
On 2016/06/10 23:56:05, Peter Kasting wrote: > The detached bookmark bar paints based on this ...
4 years, 6 months ago (2016-06-13 16:20:40 UTC) #18
Peter Kasting
On 2016/06/13 16:20:40, Evan Stade wrote: > On 2016/06/10 23:56:05, Peter Kasting wrote: > > ...
4 years, 6 months ago (2016-06-13 18:03:29 UTC) #19
Julien Isorce Samsung
On 2016/06/13 18:03:29, Peter Kasting wrote: > Seems like COLOR_CONTROL_BACKGROUND should go away entirely... Interesting ...
4 years, 6 months ago (2016-06-13 22:06:31 UTC) #20
Evan Stade
On 2016/06/13 22:06:31, Julien Isorce wrote: > On 2016/06/13 18:03:29, Peter Kasting wrote: > > ...
4 years, 6 months ago (2016-06-13 22:19:44 UTC) #21
Peter Kasting
On 2016/06/13 22:19:44, Evan Stade wrote: > On 2016/06/13 22:06:31, Julien Isorce wrote: > > ...
4 years, 6 months ago (2016-06-13 22:47:53 UTC) #22
Evan Stade
On 2016/06/13 22:47:53, Peter Kasting wrote: > On 2016/06/13 22:19:44, Evan Stade wrote: > > ...
4 years, 6 months ago (2016-06-14 16:12:10 UTC) #23
Peter Kasting
On 2016/06/14 16:12:10, Evan Stade wrote: > On 2016/06/13 22:47:53, Peter Kasting wrote: > > ...
4 years, 6 months ago (2016-06-14 17:23:24 UTC) #24
Julien Isorce Samsung
On 2016/06/14 17:23:24, Peter Kasting wrote: > On 2016/06/14 16:12:10, Evan Stade wrote: > > ...
4 years, 6 months ago (2016-06-14 20:13:47 UTC) #25
Julien Isorce Samsung
4 years, 6 months ago (2016-06-15 13:31:41 UTC) #26
On 2016/06/14 20:13:47, Julien Isorce wrote:
> On 2016/06/14 17:23:24, Peter Kasting wrote:
> > I think the right thing to do here is to go ahead and switch the detached
> > bookmark bar to using the NTP background/text colors and eliminate
> > COLOR_DETACHED_BOOKMARK_BAR_BACKGROUND entirely.  That avoids any opacity
> > issues.  Then we change the ConstrainedWindowCustomWindow to use white and
the
> > contents container background to use the NTP background color, and eliminate
> > COLOR_CONTROL_BACKGROUND as well.
> > 
> > This will be a behavior change, but I think it's the correct behavior
change.
> 
> Thx for the detailed plan. I'll have a go.

Done here: https://codereview.chromium.org/2062353002/

Powered by Google App Engine
This is Rietveld 408576698