| 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 68edc972456396cceee7981437090e9f02c47eb2..20b979944113c1b75b87e0eb7661d9743d7ebedf 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -314,6 +314,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)
|
| @@ -1810,6 +1812,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) {
|
|
|