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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/browser/web_contents_delegate.h" 5 #include "content/public/browser/web_contents_delegate.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 void WebContentsDelegate::ShowCertificateViewerInDevTools( 272 void WebContentsDelegate::ShowCertificateViewerInDevTools(
273 WebContents* web_contents, 273 WebContents* web_contents,
274 scoped_refptr<net::X509Certificate> certificate) { 274 scoped_refptr<net::X509Certificate> certificate) {
275 } 275 }
276 276
277 void WebContentsDelegate::RequestAppBannerFromDevTools( 277 void WebContentsDelegate::RequestAppBannerFromDevTools(
278 content::WebContents* web_contents) { 278 content::WebContents* web_contents) {
279 } 279 }
280 280
281 bool WebContentsDelegate::ShouldAllowRunningInsecureContent(
282 WebContents* web_contents,
283 bool allowed_per_prefs,
284 const url::Origin& origin,
285 const GURL& resource_url) {
286 return allowed_per_prefs;
287 }
288
281 } // namespace content 289 } // namespace content
OLDNEW
« 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