| 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 96eb779197adf1d95a319c8970562f077ba82f88..a54a09cfc85c49400e925fcaf9b78b2e1b60f4f6 100644
|
| --- a/content/browser/renderer_host/render_view_host.cc
|
| +++ b/content/browser/renderer_host/render_view_host.cc
|
| @@ -659,6 +659,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, OnTargetDropACK)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_TakeFocus, OnTakeFocus)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_AddMessageToConsole, OnAddMessageToConsole)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_ShouldClose_ACK, OnMsgShouldCloseACK)
|
| @@ -1036,6 +1037,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)
|
|
|