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

Issue 6532033: Disable "Reset to Default theme"/"Use classic theme" correctly. (Closed)

Created:
9 years, 10 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Disable "Reset to Default theme"/"Use classic theme" correctly. The theme on the gallery that corresponds to classic has a real extension id that we need to detect. By the time the BrowserThemeProvider can detect it, it has already been unpacked so just hard code the extension ID into chrome. BUG=67751 TEST=Install a theme, verify that 'use classic theme' is enabled, install Default theme, verify that 'use classic theme' is disabled Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75321

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M chrome/browser/dom_ui/options/personal_options_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/browser_theme_provider.cc View 2 chunks +11 lines, -2 lines 3 comments Download
M chrome/browser/ui/gtk/options/content_page_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Elliot Glaysher
9 years, 10 months ago (2011-02-17 21:04:46 UTC) #1
Miranda Callahan
This is great -- thanks, Elliot! LGTM w/spelling nitlet. http://codereview.chromium.org/6532033/diff/1/chrome/browser/themes/browser_theme_provider.cc File chrome/browser/themes/browser_theme_provider.cc (right): http://codereview.chromium.org/6532033/diff/1/chrome/browser/themes/browser_theme_provider.cc#newcode48 chrome/browser/themes/browser_theme_provider.cc:48: ...
9 years, 10 months ago (2011-02-17 21:41:46 UTC) #2
Evan Stade
9 years, 10 months ago (2011-02-17 22:13:17 UTC) #3
LGTM

http://codereview.chromium.org/6532033/diff/1/chrome/browser/themes/browser_t...
File chrome/browser/themes/browser_theme_provider.cc (right):

http://codereview.chromium.org/6532033/diff/1/chrome/browser/themes/browser_t...
chrome/browser/themes/browser_theme_provider.cc:343: id ==
kDefatulThemeGalleryID;
On 2011/02/17 21:41:46, Miranda Callahan wrote:
> I actually kind of like the word "Defatul," but still...

I wonder, how do you pronounce it?

Powered by Google App Engine
This is Rietveld 408576698