| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 821fe0b78137a2915d462179ad40c697d8781717..b2ca9ebac9c2e7addfc1dd25d3f3fdb48ed9eaf1 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -4226,23 +4226,27 @@ void RenderViewImpl::OnSetWebUIProperty(const std::string& name,
|
| void RenderViewImpl::OnDragTargetDragEnter(const WebDropData& drop_data,
|
| const gfx::Point& client_point,
|
| const gfx::Point& screen_point,
|
| - WebDragOperationsMask ops) {
|
| + WebDragOperationsMask ops,
|
| + int key_modifiers) {
|
| WebDragOperation operation = webview()->dragTargetDragEnter(
|
| drop_data.ToDragData(),
|
| client_point,
|
| screen_point,
|
| - ops);
|
| + ops,
|
| + key_modifiers);
|
|
|
| Send(new DragHostMsg_UpdateDragCursor(routing_id_, operation));
|
| }
|
|
|
| void RenderViewImpl::OnDragTargetDragOver(const gfx::Point& client_point,
|
| const gfx::Point& screen_point,
|
| - WebDragOperationsMask ops) {
|
| + WebDragOperationsMask ops,
|
| + int key_modifiers) {
|
| WebDragOperation operation = webview()->dragTargetDragOver(
|
| client_point,
|
| screen_point,
|
| - ops);
|
| + ops,
|
| + key_modifiers);
|
|
|
| Send(new DragHostMsg_UpdateDragCursor(routing_id_, operation));
|
| }
|
| @@ -4252,8 +4256,9 @@ void RenderViewImpl::OnDragTargetDragLeave() {
|
| }
|
|
|
| void RenderViewImpl::OnDragTargetDrop(const gfx::Point& client_point,
|
| - const gfx::Point& screen_point) {
|
| - webview()->dragTargetDrop(client_point, screen_point);
|
| + const gfx::Point& screen_point,
|
| + int key_modifiers) {
|
| + webview()->dragTargetDrop(client_point, screen_point, key_modifiers);
|
|
|
| Send(new DragHostMsg_TargetDrop_ACK(routing_id_));
|
| }
|
|
|