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 cf1ae7891770f99148e58f7b0123f7dac14b31c5..0a3decfedb32c446928f5e042f217ed2fc183431 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -502,7 +502,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(); |
@@ -546,14 +547,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, |
- 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() { |
@@ -561,8 +564,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) { |
+ Send(new DragMsg_TargetDrop(GetRoutingID(), client_pt, screen_pt, |
+ key_modifiers)); |
jam
2012/05/15 16:57:53
nit: spacing is off?
varunjain
2012/05/15 23:03:39
Done.
|
} |
void RenderViewHostImpl::DesktopNotificationPermissionRequestDone( |