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

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

Issue 244893004: Improve some naming (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac and win Created 6 years, 7 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 ea4a2762f775810e6945f539d19464909d3a8e0c..a47a29b0fbbdb920a180c99957daeb0cf8862b22 100644
--- a/chrome/browser/themes/theme_service.h
+++ b/chrome/browser/themes/theme_service.h
@@ -76,7 +76,7 @@ class ThemeService : public base::NonThreadSafe,
virtual gfx::Image GetImageNamed(int id) const;
// Overridden from ui::ThemeProvider:
- virtual bool UsingNativeTheme() const OVERRIDE;
+ virtual bool UsingSystemTheme() const OVERRIDE;
virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const OVERRIDE;
virtual SkColor GetColor(int id) const OVERRIDE;
virtual int GetDisplayProperty(int id) const OVERRIDE;
@@ -106,9 +106,9 @@ class ThemeService : public base::NonThreadSafe,
// Reset the theme to default.
virtual void UseDefaultTheme();
- // Set the current theme to the native theme. On some platforms, the native
+ // Set the current theme to the system theme. On some platforms, the system
// theme is the default theme.
- virtual void SetNativeTheme();
+ virtual void UseSystemTheme();
// Whether we're using the chrome default theme. Virtual so linux can check
// if we're using the GTK theme.
@@ -143,8 +143,8 @@ class ThemeService : public base::NonThreadSafe,
virtual void SetCustomDefaultTheme(
scoped_refptr<CustomThemeSupplier> theme_supplier);
- // Returns true if the ThemeService should use the native theme on startup.
- virtual bool ShouldInitWithNativeTheme() const;
+ // Returns true if the ThemeService should use the system theme on startup.
+ virtual bool ShouldInitWithSystemTheme() const;
// Get the specified tint - |id| is one of the TINT_* enum values.
color_utils::HSL GetTint(int id) 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