diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-18 05:38:54 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-18 05:38:54 +0000 |
commit | 140debc9ab97da79036d70db21859d771cecf134 (patch) | |
tree | bb5a7ab2e15869ee14cc4a9c77a2848fb089d325 /chrome/browser/automation/automation_provider.h | |
parent | edc53eb89220666a85fac4fe4fee9f0de52bd4ab (diff) | |
download | chromium_src-140debc9ab97da79036d70db21859d771cecf134.zip chromium_src-140debc9ab97da79036d70db21859d771cecf134.tar.gz chromium_src-140debc9ab97da79036d70db21859d771cecf134.tar.bz2 |
Select and close previous theme info bars when resetting to default theme via the options dialog. As a nice side effect if one tab is showing a theme info bar and the user switches to a different theme in another tab, this change closes the previous theme info bars as well.
BUG=35607
TEST=Install a theme, and with the theme info bar visible open Preferences dialog and click 'reset to default theme' and check the info bar. (full steps given in the above bug entry)
Landing http://codereview.chromium.org/1622017/show for Satish.
Review URL: http://codereview.chromium.org/1600030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index 0c30ced..9db04eb 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -398,6 +398,7 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, void WaitForExtensionTestResult(IPC::Message* reply_message); void InstallExtensionAndGetHandle(const FilePath& crx_path, + bool with_ui, IPC::Message* reply_message); void UninstallExtension(int extension_handle, @@ -560,6 +561,9 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, bool value, bool* success); + // Resets to the default theme. + void ResetToDefaultTheme(); + // Gets the current used encoding name of the page in the specified tab. void GetPageCurrentEncoding(int tab_handle, std::string* current_encoding); |