diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 19:00:01 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 19:00:01 +0000 |
commit | ef617523bad57efc3fbc8a786a9e6c7070bbe388 (patch) | |
tree | 66797e1ec3d2e81ebd4072525903e8727f3ef4e9 /chrome_frame | |
parent | 38d84d865d38ddcca7d7e5af3f1991813e3044d3 (diff) | |
download | chromium_src-ef617523bad57efc3fbc8a786a9e6c7070bbe388.zip chromium_src-ef617523bad57efc3fbc8a786a9e6c7070bbe388.tar.gz chromium_src-ef617523bad57efc3fbc8a786a9e6c7070bbe388.tar.bz2 |
Tear off windows opened in ChromeFrame in IE6 would result in the new window being minimized by default. This was because of a call
to IWebBrowser2::put_visible after initiating the navigation. The put_visible call eventually calls SetForegroundWindow setting focus
back to the current document thus causing focus to switch away from the new window.
Fix is to remove call to put_visible.
Fixes bug http://b/issue?id=2692416
Bug=2692416
Review URL: http://codereview.chromium.org/2153006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/chrome_frame_activex_base.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome_frame/chrome_frame_activex_base.h b/chrome_frame/chrome_frame_activex_base.h index f6e3a90..8277d22 100644 --- a/chrome_frame/chrome_frame_activex_base.h +++ b/chrome_frame/chrome_frame_activex_base.h @@ -1110,7 +1110,6 @@ END_MSG_MAP() web_browser2->Navigate2(url.AsInput(), &flags, &empty, &empty, http_headers.AsInput()); - web_browser2->put_Visible(VARIANT_TRUE); } ScopedBstr url_; |