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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 2499313002: Don't split off NTP subframes with TDI. (Closed)
Patch Set: rebase Created 4 years, 1 month 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: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 6cbb744a4ea1f4b287ca77411cc7e4cca2ccb8cd..d82c435f7207e4d705bae55f945f45206604a8c4 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -79,6 +79,13 @@ bool ContentBrowserClient::ShouldAllowOpenURL(SiteInstance* site_instance,
return true;
}
+bool ContentBrowserClient::
+ ShouldFrameShareParentSiteInstanceDespiteTopDocumentIsolation(
+ const GURL& url,
+ SiteInstance* site_instance) {
+ return false;
+}
+
bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host,
const GURL& site_url) {
return true;

Powered by Google App Engine
This is Rietveld 408576698