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

Issue 15240002: Cross-platform DefaultThemeProvider. (Closed)

Created:
7 years, 7 months ago by groby-ooo-7-16
Modified:
7 years, 7 months ago
CC:
chromium-reviews, tfarina, sail+watch_chromium.org, ben+watch_chromium.org, Nico
Visibility:
Public.

Description

Cross-platform DefaultThemeProvider. Not yet used as default for all windows on OSX, since some code treats ThemeService/ThemeProvider as interchangeable. BUG=241908 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202283

Patch Set 1 #

Patch Set 2 : Added missing file. #

Patch Set 3 : Fix views build issues. #

Total comments: 2

Patch Set 4 : Don't attach DefaultThemeProvider to all OSX windows. #

Total comments: 2

Patch Set 5 : Address review comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -112 lines) Patch
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
A + ui/base/default_theme_provider.h View 2 chunks +18 lines, -8 lines 0 comments Download
A + ui/base/default_theme_provider.cc View 3 chunks +9 lines, -3 lines 0 comments Download
A ui/base/default_theme_provider_mac.mm View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
D ui/views/widget/default_theme_provider.h View 1 chunk +0 lines, -43 lines 0 comments Download
D ui/views/widget/default_theme_provider.cc View 1 chunk +0 lines, -51 lines 0 comments Download
M ui/views/widget/widget.h View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
groby-ooo-7-16
As discussed with sail@, rsesek@, thakis@, adding a DefaultThemeProvider for Mac. Making it available to ...
7 years, 7 months ago (2013-05-17 02:35:14 UTC) #1
groby-ooo-7-16
CC'd thakis
7 years, 7 months ago (2013-05-17 02:35:52 UTC) #2
groby-ooo-7-16
Turns out that many places on the Mac happily cast ThemeProvider->ThemeService. Digging further in that ...
7 years, 7 months ago (2013-05-17 03:59:02 UTC) #3
Robert Sesek
This looks about right, though I'll let you sort out the ThemeService issue before approving. ...
7 years, 7 months ago (2013-05-17 14:06:36 UTC) #4
Ben Goodger (Google)
lgtm for moving out of views
7 years, 7 months ago (2013-05-17 19:49:50 UTC) #5
groby-ooo-7-16
OK, not making DefaultThemeProvider the default since there are several issues to be resolved first ...
7 years, 7 months ago (2013-05-17 23:52:57 UTC) #6
Robert Sesek
LGTM And can you please update the CL description. https://chromiumcodereview.appspot.com/15240002/diff/18001/ui/base/default_theme_provider_mac.mm File ui/base/default_theme_provider_mac.mm (right): https://chromiumcodereview.appspot.com/15240002/diff/18001/ui/base/default_theme_provider_mac.mm#newcode7 ui/base/default_theme_provider_mac.mm:7: ...
7 years, 7 months ago (2013-05-20 16:33:25 UTC) #7
groby-ooo-7-16
https://chromiumcodereview.appspot.com/15240002/diff/18001/ui/base/default_theme_provider_mac.mm File ui/base/default_theme_provider_mac.mm (right): https://chromiumcodereview.appspot.com/15240002/diff/18001/ui/base/default_theme_provider_mac.mm#newcode7 ui/base/default_theme_provider_mac.mm:7: #import <Cocoa/Cocoa.h> On 2013/05/20 16:33:25, rsesek wrote: > nit: ...
7 years, 7 months ago (2013-05-25 00:45:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/15240002/28001
7 years, 7 months ago (2013-05-25 00:46:56 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=118411
7 years, 7 months ago (2013-05-25 03:18:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/15240002/28001
7 years, 7 months ago (2013-05-25 04:08:36 UTC) #11
commit-bot: I haz the power
7 years, 7 months ago (2013-05-25 14:20:48 UTC) #12
Message was sent while issue was closed.
Change committed as 202283

Powered by Google App Engine
This is Rietveld 408576698