| Index: content/browser/renderer_host/render_view_host.cc
|
| diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
|
| index 5030cc66a768e44f97de211d5a35e74ef2c5821f..27018531b68fc7a95a6a9208cd485d5b55a100f0 100644
|
| --- a/content/browser/renderer_host/render_view_host.cc
|
| +++ b/content/browser/renderer_host/render_view_host.cc
|
| @@ -684,6 +684,7 @@ bool RenderViewHost::OnMessageReceived(const IPC::Message& msg) {
|
| OnMsgRunBeforeUnloadConfirm)
|
| IPC_MESSAGE_HANDLER(DragHostMsg_StartDragging, OnMsgStartDragging)
|
| IPC_MESSAGE_HANDLER(DragHostMsg_UpdateDragCursor, OnUpdateDragCursor)
|
| + IPC_MESSAGE_HANDLER(DragHostMsg_TargetDrop_ACK, OnTargetDropACK)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_TakeFocus, OnTakeFocus)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_AddMessageToConsole, OnAddMessageToConsole)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_ShouldClose_ACK, OnMsgShouldCloseACK)
|
| @@ -1048,6 +1049,13 @@ void RenderViewHost::OnUpdateDragCursor(WebDragOperation current_op) {
|
| view->UpdateDragCursor(current_op);
|
| }
|
|
|
| +void RenderViewHost::OnTargetDropACK() {
|
| + NotificationService::current()->Notify(
|
| + NotificationType::RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK,
|
| + Source<RenderViewHost>(this),
|
| + NotificationService::NoDetails());
|
| +}
|
| +
|
| void RenderViewHost::OnTakeFocus(bool reverse) {
|
| RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
|
| if (view)
|
|
|