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

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: merge and ShouldInitWithSystemTheme Created 6 years, 8 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 | « chrome/browser/sync/test/integration/themes_helper.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/sync/test/integration/themes_helper.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698