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

Unified Diff: chrome/browser/ui/extensions/extension_install_ui_default.cc

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/ui/extensions/extension_install_ui_default.cc
diff --git a/chrome/browser/ui/extensions/extension_install_ui_default.cc b/chrome/browser/ui/extensions/extension_install_ui_default.cc
index aea8f52e879e4124bc4ab777cac4741fa8f83073..888957732a842c47d2fe84ce9b917eaeea7727eb 100644
--- a/chrome/browser/ui/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/ui/extensions/extension_install_ui_default.cc
@@ -202,7 +202,7 @@ ExtensionInstallPrompt* ExtensionInstallUI::CreateInstallPromptWithProfile(
ExtensionInstallUIDefault::ExtensionInstallUIDefault(Profile* profile)
: ExtensionInstallUI(profile),
- previous_using_native_theme_(false),
+ previous_using_system_theme_(false),
use_app_installed_bubble_(false) {
// |profile| can be NULL during tests.
if (profile) {
@@ -211,8 +211,8 @@ ExtensionInstallUIDefault::ExtensionInstallUIDefault(Profile* profile)
ThemeServiceFactory::GetThemeForProfile(profile);
if (previous_theme)
previous_theme_id_ = previous_theme->id();
- previous_using_native_theme_ =
- ThemeServiceFactory::GetForProfile(profile)->UsingNativeTheme();
+ previous_using_system_theme_ =
+ ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme();
}
}
@@ -232,7 +232,7 @@ void ExtensionInstallUIDefault::OnInstallSuccess(const Extension* extension,
if (extension->is_theme()) {
ThemeInstalledInfoBarDelegate::Create(
- extension, profile(), previous_theme_id_, previous_using_native_theme_);
+ extension, profile(), previous_theme_id_, previous_using_system_theme_);
return;
}

Powered by Google App Engine
This is Rietveld 408576698