| 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 b802e532c7bb146bbd4e3afa3a2eb564272e5498..43bbd1ccf6051b535e9f2002782dce616cb2689e 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -1159,6 +1159,10 @@ bool RenderViewHostImpl::OnMessageReceived(const IPC::Message& msg) {
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionChanged, OnSelectionChanged)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionBoundsChanged,
|
| OnSelectionBoundsChanged)
|
| +#if defined(OS_ANDROID)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionRootBoundsChanged,
|
| + OnSelectionRootBoundsChanged)
|
| +#endif
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_ScriptEvalResponse, OnScriptEvalResponse)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_DidZoomURL, OnDidZoomURL)
|
| IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_RequestPermission,
|
| @@ -1409,6 +1413,15 @@ void RenderViewHostImpl::OnSelectionBoundsChanged(
|
| }
|
| }
|
|
|
| +#if defined(OS_ANDROID)
|
| +void RenderViewHostImpl::OnSelectionRootBoundsChanged(
|
| + const gfx::Rect& bounds) {
|
| + if (view_) {
|
| + view_->SelectionRootBoundsChanged(bounds);
|
| + }
|
| +}
|
| +#endif
|
| +
|
| void RenderViewHostImpl::OnRouteCloseEvent() {
|
| // Have the delegate route this to the active RenderViewHost.
|
| delegate_->RouteCloseEvent(this);
|
|
|