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

Unified Diff: chrome/browser/ui/webui/settings/appearance_handler.h

Issue 1839293002: MD Settings: simplify logic for whether themes can be reset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: simpler Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/appearance_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/appearance_handler.h
diff --git a/chrome/browser/ui/webui/settings/appearance_handler.h b/chrome/browser/ui/webui/settings/appearance_handler.h
index 86befb661ef1a776bbba9e81ec4e7ded666212db..b5fd8f03d27de79c448318018edb9c85eda2a139 100644
--- a/chrome/browser/ui/webui/settings/appearance_handler.h
+++ b/chrome/browser/ui/webui/settings/appearance_handler.h
@@ -38,8 +38,8 @@ class AppearanceHandler : public SettingsPageUIHandler,
const content::NotificationSource& source,
const content::NotificationDetails& details) override;
- // Queries the enabled state of the reset-theme control.
- base::FundamentalValue QueryResetThemeEnabledState();
+ // Whether the theme can be reset.
+ bool ResetThemeEnabled() const;
// Resets the UI theme of the browser to the default theme.
void ResetTheme(const base::ListValue*);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/appearance_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698