diff options
author | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-11 18:22:19 +0000 |
---|---|---|
committer | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-11 18:22:19 +0000 |
commit | c4e944f68c080d06737f15ecb60fa69caf001275 (patch) | |
tree | b10cb8b19f79b8c8d3d308e2ad083dae6fb27a92 /chrome/browser/extensions | |
parent | 197ea64be37bf1aeadde177a9e2d8bedcab8775c (diff) | |
download | chromium_src-c4e944f68c080d06737f15ecb60fa69caf001275.zip chromium_src-c4e944f68c080d06737f15ecb60fa69caf001275.tar.gz chromium_src-c4e944f68c080d06737f15ecb60fa69caf001275.tar.bz2 |
Get tab HWND directly as result of CreateExternalTab automation call.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/119448
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r-- | chrome/browser/extensions/extension_uitest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_uitest.cc b/chrome/browser/extensions/extension_uitest.cc index 102bbac..38a5bb6 100644 --- a/chrome/browser/extensions/extension_uitest.cc +++ b/chrome/browser/extensions/extension_uitest.cc @@ -52,8 +52,9 @@ class ExtensionUITest : public ParentTestType { void TestWithURL(const GURL& url) { HWND external_tab_container = NULL; - scoped_refptr<TabProxy> tab(automation()->CreateExternalTab(NULL, gfx::Rect(), - WS_POPUP, false, &external_tab_container)); + HWND tab_wnd = NULL; + scoped_refptr<TabProxy> tab(automation()->CreateExternalTab(NULL, + gfx::Rect(), WS_POPUP, false, &external_tab_container, &tab_wnd)); ASSERT_TRUE(tab != NULL); ASSERT_NE(FALSE, ::IsWindow(external_tab_container)); DoAdditionalPreNavigateSetup(tab.get()); |