diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 05:35:22 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 05:35:22 +0000 |
commit | b95f550fa7ef1723adf93f0292667979be66fa08 (patch) | |
tree | 56a6398774c2a24bb65ea7d30d6c6542309fa019 /chrome_frame/chrome_active_document.cc | |
parent | 552e600db9f51ac1efb0438bd749227226dffa64 (diff) | |
download | chromium_src-b95f550fa7ef1723adf93f0292667979be66fa08.zip chromium_src-b95f550fa7ef1723adf93f0292667979be66fa08.tar.gz chromium_src-b95f550fa7ef1723adf93f0292667979be66fa08.tar.bz2 |
Ensure that the renderer has focus when ChromeFrame navigates to a URL in IE full tab mode.
This fixes bug http://code.google.com/p/chromium/issues/detail?id=22745
Test=Covered by unit test.
Bug=22745
Review URL: http://codereview.chromium.org/402079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_active_document.cc')
-rw-r--r-- | chrome_frame/chrome_active_document.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc index 56b13be..2406f6e 100644 --- a/chrome_frame/chrome_active_document.cc +++ b/chrome_frame/chrome_active_document.cc @@ -178,6 +178,11 @@ bool ChromeActiveDocument::is_frame_busting_enabled() { return false; } +void ChromeActiveDocument::OnAutomationServerReady() { + Base::OnAutomationServerReady(); + Base::GiveFocusToChrome(); +} + STDMETHODIMP ChromeActiveDocument::Load(BOOL fully_avalable, IMoniker* moniker_name, LPBC bind_context, |