| Index: content/public/browser/web_contents_delegate.h
|
| diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
|
| index 793d00f72ed4499a80b46142a2aa379534931d34..c232b6f20b03f422798f4f7499967bf65e42a74f 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -66,6 +66,10 @@ namespace net {
|
| class X509Certificate;
|
| }
|
|
|
| +namespace url {
|
| +class Origin;
|
| +}
|
| +
|
| namespace blink {
|
| class WebGestureEvent;
|
| }
|
| @@ -555,6 +559,16 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| // Requests the app banner. This method is called from the DevTools.
|
| virtual void RequestAppBannerFromDevTools(content::WebContents* web_contents);
|
|
|
| + // Reports that passive mixed content was found at the specified url.
|
| + virtual void PassiveInsecureContentFound(const GURL& resource_url) {}
|
| +
|
| + // Checks if running of active mixed content is allowed for the specified
|
| + // WebContents/tab.
|
| + virtual bool ShouldAllowRunningInsecureContent(WebContents* web_contents,
|
| + bool allowed_per_prefs,
|
| + const url::Origin& origin,
|
| + const GURL& resource_url);
|
| +
|
| protected:
|
| virtual ~WebContentsDelegate();
|
|
|
|
|