summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/blocked_popup_container.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-05 20:00:22 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-05 20:00:22 +0000
commitc88a70fe5a69daf5d3d6e0599ed273d160b55c41 (patch)
treeb0c2303575c6f9d5f6d42e1716fbdc5decdd139e /chrome/browser/views/blocked_popup_container.cc
parent0302e4ac5907fcdaafbf2a883b29496032c0db19 (diff)
downloadchromium_src-c88a70fe5a69daf5d3d6e0599ed273d160b55c41.zip
chromium_src-c88a70fe5a69daf5d3d6e0599ed273d160b55c41.tar.gz
chromium_src-c88a70fe5a69daf5d3d6e0599ed273d160b55c41.tar.bz2
Plumb the creator URL for popups up to the browser. We don't yet use this for anything; it will be used for whitelisting popups by hostname.
BUG=11440 Review URL: http://codereview.chromium.org/105004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/blocked_popup_container.cc')
-rw-r--r--chrome/browser/views/blocked_popup_container.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/blocked_popup_container.cc b/chrome/browser/views/blocked_popup_container.cc
index 37b42f3..4fa0505 100644
--- a/chrome/browser/views/blocked_popup_container.cc
+++ b/chrome/browser/views/blocked_popup_container.cc
@@ -285,7 +285,7 @@ void BlockedPopupContainer::LaunchPopupIndex(int index) {
// Pass this TabContents back to our owner, forcing the window to be
// displayed since user_gesture is true.
- owner_->AddNewContents(contents, NEW_POPUP, bounds, true);
+ owner_->AddNewContents(contents, NEW_POPUP, bounds, true, GURL());
}
if (blocked_popups_.size() == 0)
@@ -357,7 +357,7 @@ void BlockedPopupContainer::AddNewContents(TabContents* source,
const gfx::Rect& initial_position,
bool user_gesture) {
owner_->AddNewContents(new_contents, disposition, initial_position,
- user_gesture);
+ user_gesture, GURL());
}
void BlockedPopupContainer::CloseContents(TabContents* source) {