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

Unified Diff: chrome/browser/themes/theme_service.h

Issue 388563004: Fix syncing of system theme on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: chrome/browser/themes/theme_service.h
diff --git a/chrome/browser/themes/theme_service.h b/chrome/browser/themes/theme_service.h
index b89a7ae4c86d2ce89e8462f5534be18e89c7e752..f13e5c1cd8e21f879869a177985db56dcc9e1897 100644
--- a/chrome/browser/themes/theme_service.h
+++ b/chrome/browser/themes/theme_service.h
@@ -110,6 +110,10 @@ class ThemeService : public base::NonThreadSafe,
// theme is the default theme.
virtual void UseSystemTheme();
+ // Returns true if the default theme and system theme are not the same on
+ // this platform.
+ virtual bool IsSystemThemeDistinctFromDefaultTheme() const;
+
// Whether we're using the chrome default theme. Virtual so linux can check
// if we're using the GTK theme.
virtual bool UsingDefaultTheme() const;
« no previous file with comments | « chrome/browser/sync/test/integration/two_client_themes_sync_test.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698