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

Issue 278004: Disable "Reset to Default Theme" button in Google Chrome Options / Personal S... (Closed)

Created:
11 years, 2 months ago by Miranda Callahan
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, kuchhal, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org, Glen Murphy
Visibility:
Public.

Description

Disable "Reset to Default Theme" button in Google Chrome Options / Personal Stuff when the default theme is already set. This change is for the Mac OS; Windows change in a separate patch. BUG= http://crbug.com/18585 TEST= Install a default theme, note that button is disabled. Install a non-default theme, note that button is enabled. Rinse, repeat. NOTE: this will only respond to default themes set by the reset button itself right now, because the "default theme" in the gallery is not a "true" default. When this code goes out, then the gallery theme can be changed. See http://crbug.com/24857 . Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29047

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -6 lines) Patch
M chrome/app/nibs/Preferences.xib View 8 chunks +28 lines, -4 lines 0 comments Download
M chrome/browser/browser_theme_provider.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.mm View 1 2 3 4 6 chunks +19 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Miranda Callahan
11 years, 2 months ago (2009-10-14 20:40:03 UTC) #1
Miranda Callahan
Glen, in order to make this CL work, we need to make the default theme ...
11 years, 2 months ago (2009-10-14 20:43:48 UTC) #2
TVL
+ avi since he did the first them drawing/switch code + pink for the bindings ...
11 years, 2 months ago (2009-10-14 21:22:03 UTC) #3
Avi (use Gerrit)
http://codereview.chromium.org/278004/diff/4001/9 File chrome/browser/cocoa/preferences_window_controller.mm (right): http://codereview.chromium.org/278004/diff/4001/9#newcode768 Line 768: [self recordUserAction:L"Options_IsUsingDefaultTheme_Disable"]; Are these values backward? When they ...
11 years, 2 months ago (2009-10-14 21:32:41 UTC) #4
Miranda Callahan
Fixed issues from Avi and TVL. http://codereview.chromium.org/278004/diff/4001/9 File chrome/browser/cocoa/preferences_window_controller.mm (right): http://codereview.chromium.org/278004/diff/4001/9#newcode768 Line 768: [self recordUserAction:L"Options_IsUsingDefaultTheme_Disable"]; ...
11 years, 2 months ago (2009-10-14 21:44:36 UTC) #5
Avi (use Gerrit)
11 years, 2 months ago (2009-10-14 21:47:43 UTC) #6
LG

Powered by Google App Engine
This is Rietveld 408576698