| 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 5aa3313f278c865aab9af9280ba91a1ab0569b27..891c3b296ba0d9a341422b86f7bb809a9918991d 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -704,13 +704,15 @@ void RenderViewHostImpl::DragTargetDragLeave() {
|
| Send(new DragMsg_TargetDragLeave(GetRoutingID()));
|
| }
|
|
|
| -void RenderViewHostImpl::DragTargetDrop(
|
| - const gfx::Point& client_pt,
|
| - const gfx::Point& screen_pt,
|
| - int key_modifiers) {
|
| +void RenderViewHostImpl::DragTargetDrop(const DropData& drop_data,
|
| + bool is_drop_data_valid,
|
| + const gfx::Point& client_pt,
|
| + const gfx::Point& screen_pt,
|
| + int key_modifiers) {
|
| const gfx::Point client_pt_in_viewport = ConvertDIPToViewport(client_pt);
|
| - Send(new DragMsg_TargetDrop(GetRoutingID(), client_pt_in_viewport, screen_pt,
|
| - key_modifiers));
|
| + // TODO(hush): filter the drop_data if is_drop_data_valid == true.
|
| + Send(new DragMsg_TargetDrop(GetRoutingID(), drop_data, is_drop_data_valid,
|
| + client_pt_in_viewport, screen_pt, key_modifiers));
|
| }
|
|
|
| void RenderViewHostImpl::DragSourceEndedAt(
|
|
|