| 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..012ad3a5c9dabee96955fdd4b2a4a7d50ee6c6f5 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_ForwardCompositorProto,
|
| + OnForwardCompositorProto)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
|
|
| @@ -1253,6 +1255,12 @@ bool RenderWidgetHostImpl::GetScreenColorProfile(
|
| return false;
|
| }
|
|
|
| +void RenderWidgetHostImpl::HandleCompositorProto(
|
| + const std::vector<uint8_t>& proto) {
|
| + DCHECK(!proto.empty());
|
| + Send(new ViewMsg_HandleCompositorProto(GetRoutingID(), proto));
|
| +}
|
| +
|
| void RenderWidgetHostImpl::NotifyScreenInfoChanged() {
|
| color_profile_out_of_date_ = true;
|
|
|
| @@ -1291,6 +1299,12 @@ void RenderWidgetHostImpl::OnSelectionBoundsChanged(
|
| }
|
| }
|
|
|
| +void RenderWidgetHostImpl::OnForwardCompositorProto(
|
| + const std::vector<uint8_t>& proto) {
|
| + if (delegate_)
|
| + delegate_->ForwardCompositorProto(this, proto);
|
| +}
|
| +
|
| void RenderWidgetHostImpl::UpdateVSyncParameters(base::TimeTicks timebase,
|
| base::TimeDelta interval) {
|
| Send(new ViewMsg_UpdateVSyncParameters(GetRoutingID(), timebase, interval));
|
|
|