| 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 6141da6dc17a327adfaad69e89de263e97aec73e..7fdcf5bd677ca726d334f943dbe7840c2ce6f64a 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,
|
| @@ -1852,6 +1855,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");
|
|
|