Chromium Code Reviews| 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..e6b8ed433af2ca9bbef00b9c7d2ed520b3078296 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. |
| @@ -144,7 +144,7 @@ class ThemeService : public base::NonThreadSafe, |
| scoped_refptr<CustomThemeSupplier> theme_supplier); |
| // Returns true if the ThemeService should use the native theme on startup. |
|
msw
2014/04/25 23:28:37
nit: update comment.
|
| - virtual bool ShouldInitWithNativeTheme() const; |
| + virtual bool ShouldInitWithSystemTheme() const; |
| // Get the specified tint - |id| is one of the TINT_* enum values. |
| color_utils::HSL GetTint(int id) const; |