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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 | 265 |
266 void WebContentsDelegate::ShowCertificateViewerInDevTools( | 266 void WebContentsDelegate::ShowCertificateViewerInDevTools( |
267 WebContents* web_contents, | 267 WebContents* web_contents, |
268 scoped_refptr<net::X509Certificate> certificate) { | 268 scoped_refptr<net::X509Certificate> certificate) { |
269 } | 269 } |
270 | 270 |
271 void WebContentsDelegate::RequestAppBannerFromDevTools( | 271 void WebContentsDelegate::RequestAppBannerFromDevTools( |
272 content::WebContents* web_contents) { | 272 content::WebContents* web_contents) { |
273 } | 273 } |
274 | 274 |
| 275 bool WebContentsDelegate::ShouldAllowRunningInsecureContent( |
| 276 bool allowed_per_settings, |
| 277 const url::Origin& origin, |
| 278 const GURL& resource_url, |
| 279 WebContents* web_contents) { |
| 280 return allowed_per_settings; |
| 281 } |
| 282 |
275 } // namespace content | 283 } // namespace content |
OLD | NEW |