| 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 4fcdff0f41609b004a69f807ba995b3d4e5a7036..ee008ca5d3f00d5bcbc39b48c10495b4b63d9028 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -316,6 +316,8 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) {
|
| OnMsgDidActivateAcceleratedCompositing)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_LockMouse, OnMsgLockMouse)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_UnlockMouse, OnMsgUnlockMouse)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_ShowDisambiguationPopup,
|
| + OnMsgShowDisambiguationPopup)
|
| #if defined(OS_POSIX) || defined(USE_AURA)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_GetWindowRect, OnMsgGetWindowRect)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_GetRootWindowRect, OnMsgGetRootWindowRect)
|
| @@ -1825,6 +1827,19 @@ void RenderWidgetHostImpl::OnMsgUnlockMouse() {
|
| RejectMouseLockOrUnlockIfNecessary();
|
| }
|
|
|
| +void RenderWidgetHostImpl::OnMsgShowDisambiguationPopup(
|
| + const gfx::Rect& rect,
|
| + const gfx::Size& size,
|
| + const TransportDIB::Id& id) {
|
| + TransportDIB* dib = process_->GetTransportDIB(id);
|
| +
|
| + // TODO(trchen): implement the platform-specific disambiguation popup
|
| + NOTIMPLEMENTED();
|
| +
|
| + Send(new ViewMsg_ReleaseDisambiguationPopupDIB(GetRoutingID(),
|
| + dib->handle()));
|
| +}
|
| +
|
| #if defined(OS_POSIX) || defined(USE_AURA)
|
| void RenderWidgetHostImpl::OnMsgGetWindowRect(gfx::NativeViewId window_id,
|
| gfx::Rect* results) {
|
|
|