Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index 979f2c783586ed5d09c004f56c46a4e47b6c8fdb..4580f2abb3d4e802775a6ac0b569d84f64065c13 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -995,6 +995,8 @@ bool RenderViewHostImpl::OnMessageReceived(const IPC::Message& msg) { |
IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionChanged, OnSelectionChanged) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionBoundsChanged, |
OnSelectionBoundsChanged) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_TouchEditingHandlesVisibilityChanged, |
+ OnTouchEditingHandlesVisibilityChanged) |
IPC_MESSAGE_HANDLER(ViewHostMsg_ScriptEvalResponse, OnScriptEvalResponse) |
IPC_MESSAGE_HANDLER(ViewHostMsg_DidZoomURL, OnDidZoomURL) |
IPC_MESSAGE_HANDLER(ViewHostMsg_MediaNotification, OnMediaNotification) |
@@ -1412,6 +1414,12 @@ void RenderViewHostImpl::OnSelectionBoundsChanged( |
} |
} |
+void RenderViewHostImpl::OnTouchEditingHandlesVisibilityChanged(bool visible) { |
+ if (view_) { |
+ view_->TouchEditingHandlesVisibilityChanged(visible); |
+ } |
+} |
+ |
void RenderViewHostImpl::OnRouteCloseEvent() { |
// Have the delegate route this to the active RenderViewHost. |
delegate_->RouteCloseEvent(this); |