Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2206963002: Plumb the frame name through the popup blocker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 81b0a1d1e7159518550ef50caf8d9b5883e4a1d5..c00b48914a3ccf4fe64d34460caac1e3c434b4a2 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2160,6 +2160,7 @@ bool ChromeContentBrowserClient::CanCreateWindow(
WindowContainerType container_type,
const GURL& target_url,
const content::Referrer& referrer,
+ const std::string& frame_name,
WindowOpenDisposition disposition,
const WebWindowFeatures& features,
bool user_gesture,
@@ -2237,6 +2238,7 @@ bool ChromeContentBrowserClient::CanCreateWindow(
ProfileIOData::FromResourceContext(context)->GetHostContentSettingsMap();
BlockedWindowParams blocked_params(target_url,
referrer,
+ frame_name,
disposition,
features,
user_gesture,
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/ui/blocked_content/blocked_window_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698