| Index: content/browser/renderer_host/render_widget_host_view_android.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| index 1597e00b40a6faf85ce01de466303f514f2d404c..d9059ffbd0f1df99cbe05ff899572f193e330f7c 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_android.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| @@ -120,6 +120,8 @@ bool RenderWidgetHostViewAndroid::OnMessageReceived(
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_StartContentIntent, OnStartContentIntent)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeBodyBackgroundColor,
|
| OnDidChangeBodyBackgroundColor)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_SetVSyncNotificationEnabled,
|
| + OnSetVSyncNotificationEnabled)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| return handled;
|
| @@ -385,6 +387,14 @@ void RenderWidgetHostViewAndroid::OnDidChangeBodyBackgroundColor(
|
| content_view_core_->OnBackgroundColorChanged(color);
|
| }
|
|
|
| +void RenderWidgetHostViewAndroid::SendVSync(base::TimeTicks frame_time) {
|
| + host_->Send(new ViewMsg_DidVSync(host_->GetRoutingID(), frame_time));
|
| +}
|
| +
|
| +void RenderWidgetHostViewAndroid::OnSetVSyncNotificationEnabled(bool enabled) {
|
| + // TODO(skyostil): Toggle the Java-side vsync monitor.
|
| +}
|
| +
|
| void RenderWidgetHostViewAndroid::OnStartContentIntent(
|
| const GURL& content_url) {
|
| if (content_view_core_)
|
|
|