| 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 c088b30459bec86e23e54cdb35844e697c1c7922..8d65428a99ab908771cc78b67bc378426e530335 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -28,6 +28,7 @@
|
| #include "base/trace_event/trace_event.h"
|
| #include "build/build_config.h"
|
| #include "cc/base/switches.h"
|
| +#include "cc/output/begin_frame_args.h"
|
| #include "cc/output/compositor_frame.h"
|
| #include "content/browser/accessibility/accessibility_mode_helper.h"
|
| #include "content/browser/accessibility/browser_accessibility_state_impl.h"
|
| @@ -528,6 +529,8 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) {
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_SetTooltipText, OnSetTooltipText)
|
| IPC_MESSAGE_HANDLER_GENERIC(ViewHostMsg_SwapCompositorFrame,
|
| OnSwapCompositorFrame(msg))
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_BeginFrameDidNotDraw,
|
| + OnBeginFrameDidNotDraw)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateRect, OnUpdateRect)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_SetCursor, OnSetCursor)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputStateChanged,
|
| @@ -1847,6 +1850,12 @@ bool RenderWidgetHostImpl::OnSwapCompositorFrame(
|
| return true;
|
| }
|
|
|
| +void RenderWidgetHostImpl::OnBeginFrameDidNotDraw(
|
| + const cc::BeginFrameAck& ack) {
|
| + if (view_)
|
| + view_->OnBeginFrameDidNotDraw(ack);
|
| +}
|
| +
|
| void RenderWidgetHostImpl::OnUpdateRect(
|
| const ViewHostMsg_UpdateRect_Params& params) {
|
| TRACE_EVENT0("renderer_host", "RenderWidgetHostImpl::OnUpdateRect");
|
|
|