| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index 264c934af1782382c8593f714d7f9529d2fcca55..962075c6676d724b78dcfa9ca2792d0f5bba2957 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -1566,6 +1566,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)
|
| @@ -5693,6 +5696,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,
|
|
|