From e3d60e5dbbe1a30ee38ad470a5d6040011aea60a Mon Sep 17 00:00:00 2001 From: "abarth@chromium.org" Date: Fri, 25 Sep 2009 21:08:29 +0000 Subject: Plumb the new mixed content API callbacks to the tab contents. We'll actually use these notifications in a future patch. No behavior change. R=agl Review URL: http://codereview.chromium.org/241004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27249 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/render_view.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'chrome/renderer/render_view.cc') diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index a811503..842dfc0 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -130,6 +130,7 @@ using WebKit::WebPopupMenuInfo; using WebKit::WebRange; using WebKit::WebRect; using WebKit::WebScriptSource; +using WebKit::WebSecurityOrigin; using WebKit::WebSettings; using WebKit::WebSize; using WebKit::WebString; @@ -2299,6 +2300,17 @@ void RenderView::didLoadResourceFromMemoryCache( response.securityInfo())); } +void RenderView::didDisplayInsecureContent(WebKit::WebFrame* frame) { + Send(new ViewHostMsg_DidDisplayInsecureContent(routing_id_)); +} + +void RenderView::didRunInsecureContent( + WebFrame* frame, const WebSecurityOrigin& origin) { + Send(new ViewHostMsg_DidRunInsecureContent( + routing_id_, + origin.toString().utf8())); +} + void RenderView::didExhaustMemoryAvailableForScript(WebFrame* frame) { Send(new ViewHostMsg_JSOutOfMemory(routing_id_)); } -- cgit v1.1