OLD | NEW |
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 Loading... |
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 |
OLD | NEW |