Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_impl.cc |
| diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
| index 78491a5b7134c704300d6937f829f52906b03da3..215436153d01c3b08ccbf054c8be717e8bc7ea92 100644 |
| --- a/content/browser/renderer_host/render_widget_host_impl.cc |
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc |
| @@ -473,6 +473,8 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) { |
| OnImeCompositionRangeChanged) |
| IPC_MESSAGE_HANDLER(ViewHostMsg_DidFirstPaintAfterLoad, |
| OnFirstPaintAfterLoad) |
| + IPC_MESSAGE_HANDLER(ViewHostMsg_SendCompositorProto, |
|
no sievers
2015/11/14 00:13:43
nit: it's slightly contradictory between Send/OnHa
David Trainor- moved to gerrit
2015/11/16 04:33:58
Done.
|
| + OnHandleCompositorProto) |
| IPC_MESSAGE_UNHANDLED(handled = false) |
| IPC_END_MESSAGE_MAP() |
| @@ -954,6 +956,12 @@ void RenderWidgetHostImpl::OnFirstPaintAfterLoad() { |
| } |
| } |
| +void RenderWidgetHostImpl::OnHandleCompositorProto( |
| + const std::vector<char>& proto) { |
| + if (delegate_) |
| + delegate_->HandleCompositorProto(this, proto); |
| +} |
| + |
| void RenderWidgetHostImpl::ForwardMouseEvent(const WebMouseEvent& mouse_event) { |
| ForwardMouseEventWithLatencyInfo(mouse_event, ui::LatencyInfo()); |
| } |
| @@ -1253,6 +1261,12 @@ bool RenderWidgetHostImpl::GetScreenColorProfile( |
| return false; |
| } |
| +void RenderWidgetHostImpl::HandleCompositorProto( |
|
no sievers
2015/11/14 00:13:43
oops, now i'm even more confused, 'Handle' overloa
David Trainor- moved to gerrit
2015/11/16 04:33:58
Yeah this is weird. I made it HandleCompositorPro
|
| + const std::vector<char>& proto) { |
| + DCHECK(!proto.empty()); |
| + Send(new ViewMsg_HandleCompositorProto(GetRoutingID(), proto)); |
| +} |
| + |
| void RenderWidgetHostImpl::NotifyScreenInfoChanged() { |
| color_profile_out_of_date_ = true; |