diff options
author | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 22:09:03 +0000 |
---|---|---|
committer | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 22:09:03 +0000 |
commit | 95c3c59d275042225cda4589525cb279f66f1f2c (patch) | |
tree | f9fc3164096b65db04c60060a882bf68e7d5d7df /chrome/browser/extensions | |
parent | 7d7b882f49e7c33e1ad7b113234fd6af94fac608 (diff) | |
download | chromium_src-95c3c59d275042225cda4589525cb279f66f1f2c.zip chromium_src-95c3c59d275042225cda4589525cb279f66f1f2c.tar.gz chromium_src-95c3c59d275042225cda4589525cb279f66f1f2c.tar.bz2 |
Remove the defunct SetAccelerator message and replace it with an
automation message to set initial settings.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/155376
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20676 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r-- | chrome/browser/extensions/extension_uitest.cc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_uitest.cc b/chrome/browser/extensions/extension_uitest.cc index 359ba9a..6d7bc8c 100644 --- a/chrome/browser/extensions/extension_uitest.cc +++ b/chrome/browser/extensions/extension_uitest.cc @@ -54,10 +54,18 @@ class ExtensionUITest : public ParentTestType { } void TestWithURL(const GURL& url) { + const IPC::ExternalTabSettings settings = { + NULL, + gfx::Rect(), + WS_POPUP, + false, + false + }; + HWND external_tab_container = NULL; HWND tab_wnd = NULL; - scoped_refptr<TabProxy> tab(automation()->CreateExternalTab(NULL, - gfx::Rect(), WS_POPUP, false, &external_tab_container, &tab_wnd)); + scoped_refptr<TabProxy> tab(automation()->CreateExternalTab(settings, + &external_tab_container, &tab_wnd)); ASSERT_TRUE(tab != NULL); ASSERT_NE(FALSE, ::IsWindow(external_tab_container)); DoAdditionalPreNavigateSetup(tab.get()); |