diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-20 14:37:09 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-20 14:37:09 +0000 |
commit | d7e5525dd72ef8fdd865d2ae0c8692f69b1856bf (patch) | |
tree | ab6f17a236cb5eca36a5bd7e146357962df78074 /chrome/browser/automation/automation_provider.h | |
parent | b699a178d982f7de0025e492e965c64b28c78026 (diff) | |
download | chromium_src-d7e5525dd72ef8fdd865d2ae0c8692f69b1856bf.zip chromium_src-d7e5525dd72ef8fdd865d2ae0c8692f69b1856bf.tar.gz chromium_src-d7e5525dd72ef8fdd865d2ae0c8692f69b1856bf.tar.bz2 |
Close previous theme info bars when resetting to default theme
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.
(landing for satish@chromium.org / http://codereview.chromium.org/1622017/show)
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)
Review URL: http://codereview.chromium.org/1650016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45034 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 9c502ec..cb07f1c 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -402,6 +402,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, @@ -565,6 +566,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); |