diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-13 20:10:45 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-13 20:10:45 +0000 |
commit | ddb1e5ae096bd91da721887fd55e68c603bf7067 (patch) | |
tree | 401d9a379ff03bb8b69a1ce9c23fe182f673f587 /chrome/browser/themes | |
parent | 1c9526e0650a91e412d815417634c9f193b1a4d5 (diff) | |
download | chromium_src-ddb1e5ae096bd91da721887fd55e68c603bf7067.zip chromium_src-ddb1e5ae096bd91da721887fd55e68c603bf7067.tar.gz chromium_src-ddb1e5ae096bd91da721887fd55e68c603bf7067.tar.bz2 |
Even more virtual method deinlining.
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/5741001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/themes')
-rw-r--r-- | chrome/browser/themes/browser_theme_provider.cc | 4 | ||||
-rw-r--r-- | chrome/browser/themes/browser_theme_provider.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/themes/browser_theme_provider.cc b/chrome/browser/themes/browser_theme_provider.cc index 3b33f04..36763bb 100644 --- a/chrome/browser/themes/browser_theme_provider.cc +++ b/chrome/browser/themes/browser_theme_provider.cc @@ -326,6 +326,10 @@ void BrowserThemeProvider::UseDefaultTheme() { UserMetrics::RecordAction(UserMetricsAction("Themes_Reset"), profile_); } +void BrowserThemeProvider::SetNativeTheme() { + UseDefaultTheme(); +} + bool BrowserThemeProvider::UsingDefaultTheme() { return GetThemeID() == BrowserThemeProvider::kDefaultThemeID; } diff --git a/chrome/browser/themes/browser_theme_provider.h b/chrome/browser/themes/browser_theme_provider.h index 2322b8b..cddd153 100644 --- a/chrome/browser/themes/browser_theme_provider.h +++ b/chrome/browser/themes/browser_theme_provider.h @@ -159,7 +159,7 @@ class BrowserThemeProvider : public NonThreadSafe, // Set the current theme to the native theme. On some platforms, the native // theme is the default theme. - virtual void SetNativeTheme() { UseDefaultTheme(); } + virtual void SetNativeTheme(); // Whether we're using the chrome default theme. Virtual so linux can check // if we're using the GTK theme. |