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/test/automation/extension_proxy_uitest.cc | |
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/test/automation/extension_proxy_uitest.cc')
-rw-r--r-- | chrome/test/automation/extension_proxy_uitest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/automation/extension_proxy_uitest.cc b/chrome/test/automation/extension_proxy_uitest.cc index 18d385c..0954f5a 100644 --- a/chrome/test/automation/extension_proxy_uitest.cc +++ b/chrome/test/automation/extension_proxy_uitest.cc @@ -32,7 +32,7 @@ class ExtensionProxyUITest : public UITest { scoped_refptr<ExtensionProxy> InstallSimpleBrowserActionExtension() { return automation()->InstallExtension( test_data_directory_.AppendASCII("extensions").AppendASCII("uitest"). - AppendASCII("simple_browser_action.crx")); + AppendASCII("simple_browser_action.crx"), false); } // Installs a extension which, when clicking the browser action, renames @@ -41,7 +41,7 @@ class ExtensionProxyUITest : public UITest { scoped_refptr<ExtensionProxy> InstallRenameTabExtension() { return automation()->InstallExtension( test_data_directory_.AppendASCII("extensions").AppendASCII("uitest"). - AppendASCII("rename_tab.crx")); + AppendASCII("rename_tab.crx"), false); } // The google translate extension, which is installed on test setup. |