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

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

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Minor changes from nasko@'s comments Created 3 years, 10 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
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/public/common/origin_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 6cdfaf34a69b510063ac905e93efdcc07a1a484f..9a576a9ad426fef9e5825b511e32d7837deac997 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -278,4 +278,12 @@ void WebContentsDelegate::RequestAppBannerFromDevTools(
content::WebContents* web_contents) {
}
+bool WebContentsDelegate::ShouldAllowRunningInsecureContent(
+ WebContents* web_contents,
+ bool allowed_per_prefs,
+ const url::Origin& origin,
+ const GURL& resource_url) {
+ return allowed_per_prefs;
+}
+
} // namespace content
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/public/common/origin_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698