Chromium Code Reviews| 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 11cfb73b901172e85b3dab0e461eaa64645a9479..35923767a0e4c398201c56e3edcae02a4929f5e8 100644 |
| --- a/content/browser/renderer_host/render_view_host_impl.cc |
| +++ b/content/browser/renderer_host/render_view_host_impl.cc |
| @@ -503,7 +503,8 @@ void RenderViewHostImpl::DragTargetDragEnter( |
| const WebDropData& drop_data, |
| const gfx::Point& client_pt, |
| const gfx::Point& screen_pt, |
| - WebDragOperationsMask operations_allowed) { |
| + WebDragOperationsMask operations_allowed, |
| + int key_modifiers) { |
| const int renderer_id = GetProcess()->GetID(); |
| ChildProcessSecurityPolicyImpl* policy = |
| ChildProcessSecurityPolicyImpl::GetInstance(); |
| @@ -547,14 +548,16 @@ void RenderViewHostImpl::DragTargetDragEnter( |
| filtered_data.filesystem_id = UTF8ToUTF16(filesystem_id); |
| Send(new DragMsg_TargetDragEnter(GetRoutingID(), filtered_data, client_pt, |
| - screen_pt, operations_allowed)); |
| + screen_pt, operations_allowed, |
| + key_modifiers)); |
| } |
| void RenderViewHostImpl::DragTargetDragOver( |
| const gfx::Point& client_pt, const gfx::Point& screen_pt, |
|
sky
2012/05/17 19:49:40
wrap each param onto its own line.
varunjain
2012/05/17 21:14:04
Done.
|
| - WebDragOperationsMask operations_allowed) { |
| + WebDragOperationsMask operations_allowed, |
| + int key_modifiers) { |
| Send(new DragMsg_TargetDragOver(GetRoutingID(), client_pt, screen_pt, |
| - operations_allowed)); |
| + operations_allowed, key_modifiers)); |
| } |
| void RenderViewHostImpl::DragTargetDragLeave() { |
| @@ -562,8 +565,10 @@ void RenderViewHostImpl::DragTargetDragLeave() { |
| } |
| void RenderViewHostImpl::DragTargetDrop( |
| - const gfx::Point& client_pt, const gfx::Point& screen_pt) { |
| - Send(new DragMsg_TargetDrop(GetRoutingID(), client_pt, screen_pt)); |
| + const gfx::Point& client_pt, const gfx::Point& screen_pt, |
| + int key_modifiers) { |
|
sky
2012/05/17 19:49:40
wrap each param onto its own line.
varunjain
2012/05/17 21:14:04
Done.
|
| + Send(new DragMsg_TargetDrop(GetRoutingID(), client_pt, screen_pt, |
| + key_modifiers)); |
| } |
| void RenderViewHostImpl::DesktopNotificationPermissionRequestDone( |