Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index c906af61e9a2740d166f2afb3bd7b0b22373cf87..abb7edb66292b9020154529c640df40ac6077aec 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -1574,6 +1574,9 @@ bool RenderFrameImpl::OnMessageReceived(const IPC::Message& msg) { |
OnSuppressFurtherDialogs) |
IPC_MESSAGE_HANDLER(FrameMsg_RunFileChooserResponse, OnFileChooserResponse) |
IPC_MESSAGE_HANDLER(FrameMsg_ClearFocusedElement, OnClearFocusedElement) |
+ IPC_MESSAGE_HANDLER(FrameMsg_BlinkFeatureUsageReport, |
+ OnBlinkFeatureUsageReport) |
+ IPC_MESSAGE_HANDLER(FrameMsg_MixedContentFound, OnMixedContentFound) |
#if defined(OS_ANDROID) |
IPC_MESSAGE_HANDLER(FrameMsg_ActivateNearestFindResult, |
OnActivateNearestFindResult) |
@@ -5724,6 +5727,22 @@ void RenderFrameImpl::OnClearFocusedElement() { |
webview->clearFocusedElement(); |
} |
+void RenderFrameImpl::OnBlinkFeatureUsageReport(const std::set<int>& features) { |
+ frame_->blinkFeatureUsageReport(features); |
+} |
+ |
+void RenderFrameImpl::OnMixedContentFound( |
+ const GURL& main_resource_url, |
+ const GURL& mixed_content_url, |
+ RequestContextType request_context_type, |
+ bool was_allowed, |
+ bool had_redirect) { |
+ auto request_context = |
+ static_cast<blink::WebURLRequest::RequestContext>(request_context_type); |
+ frame_->mixedContentFound(main_resource_url, mixed_content_url, |
+ request_context, was_allowed, had_redirect); |
+} |
+ |
#if defined(OS_ANDROID) |
void RenderFrameImpl::OnActivateNearestFindResult(int request_id, |
float x, |