diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 22:21:10 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 22:21:10 +0000 |
commit | a7659318ed6c379ba782f61d8fb80e665d3a45d7 (patch) | |
tree | a6add177ad993709b6d3a3cca4f974cac1817044 /chrome/browser/external_tab_container.cc | |
parent | 8c3dc79bc13ba84f418d3c135e1bf296a3e29722 (diff) | |
download | chromium_src-a7659318ed6c379ba782f61d8fb80e665d3a45d7.zip chromium_src-a7659318ed6c379ba782f61d8fb80e665d3a45d7.tar.gz chromium_src-a7659318ed6c379ba782f61d8fb80e665d3a45d7.tar.bz2 |
Added support for the URLRequestAutomationJob object which issues HTTP requests through automation to receive persistent cookies from the automation client. These cookies are passed in when the automation client notifies Chrome that a HTTP request was started.
The URLRequestAutomationJob object now informs Chrome whether an automation URL request was redirected.
The ExternalTabContainer now handles the NEW_FOREGROUND_TAB and displays a popup window in response. This gets around an ASSERT.
This fixes bug http://b/issue?id=2048046
Bug=2048046
Review URL: http://codereview.chromium.org/165350
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23233 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r-- | chrome/browser/external_tab_container.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index b5cead4..fb593c8 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -208,7 +208,8 @@ void ExternalTabContainer::AddNewContents(TabContents* source, WindowOpenDisposition disposition, const gfx::Rect& initial_pos, bool user_gesture) { - if (disposition == NEW_POPUP || disposition == NEW_WINDOW) { + if (disposition == NEW_POPUP || disposition == NEW_WINDOW || + disposition == NEW_FOREGROUND_TAB) { Browser::BuildPopupWindowHelper(source, new_contents, initial_pos, Browser::TYPE_POPUP, tab_contents_->profile(), true); |