Index: content/browser/frame_host/render_frame_host_delegate.h |
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h |
index 4f3178036cda45d6dee1f0b9e6f4d0bbd2672ad9..d4434a34f38c83d50662a5d32423bcfad5eee389 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.h |
+++ b/content/browser/frame_host/render_frame_host_delegate.h |
@@ -41,6 +41,10 @@ namespace gfx { |
class Rect; |
} |
+namespace url { |
+class Origin; |
+} |
+ |
namespace content { |
class FrameTreeNode; |
class InterstitialPage; |
@@ -269,6 +273,22 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
const gfx::Rect& initial_rect, |
bool user_gesture) {} |
+ // Notifies that mixed-content was displayed or ran within the container |
nasko
2017/01/12 18:32:38
You mean within the RenderFrameHost that is report
carlosk
2017/01/21 02:54:59
This report only matters at the WebContents level
|
+ // WebContents. |
+ virtual void DidDisplayInsecureContent() {} |
+ virtual void DidRunInsecureContent(const GURL& security_origin, |
+ const GURL& target_url) {} |
+ |
+ // 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(bool allowed_per_settings, |
+ const url::Origin& origin, |
+ const GURL& resource_url, |
+ WebContents* web_contents); |
+ |
protected: |
virtual ~RenderFrameHostDelegate() {} |
}; |