| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/renderer_host/render_widget_host_impl.h" | 5 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <tuple> | 10 #include <tuple> |
| (...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1364 | 1364 |
| 1365 void RenderWidgetHostImpl::DragTargetDragOver( | 1365 void RenderWidgetHostImpl::DragTargetDragOver( |
| 1366 const gfx::Point& client_pt, | 1366 const gfx::Point& client_pt, |
| 1367 const gfx::Point& screen_pt, | 1367 const gfx::Point& screen_pt, |
| 1368 WebDragOperationsMask operations_allowed, | 1368 WebDragOperationsMask operations_allowed, |
| 1369 int key_modifiers) { | 1369 int key_modifiers) { |
| 1370 Send(new DragMsg_TargetDragOver(GetRoutingID(), client_pt, screen_pt, | 1370 Send(new DragMsg_TargetDragOver(GetRoutingID(), client_pt, screen_pt, |
| 1371 operations_allowed, key_modifiers)); | 1371 operations_allowed, key_modifiers)); |
| 1372 } | 1372 } |
| 1373 | 1373 |
| 1374 void RenderWidgetHostImpl::DragTargetDragLeave() { | 1374 void RenderWidgetHostImpl::DragTargetDragLeave(const gfx::Point& client_point, |
| 1375 Send(new DragMsg_TargetDragLeave(GetRoutingID())); | 1375 const gfx::Point& screen_point) { |
| 1376 Send(new DragMsg_TargetDragLeave(GetRoutingID(), client_point, screen_point)); |
| 1376 } | 1377 } |
| 1377 | 1378 |
| 1378 void RenderWidgetHostImpl::DragTargetDrop(const DropData& drop_data, | 1379 void RenderWidgetHostImpl::DragTargetDrop(const DropData& drop_data, |
| 1379 const gfx::Point& client_pt, | 1380 const gfx::Point& client_pt, |
| 1380 const gfx::Point& screen_pt, | 1381 const gfx::Point& screen_pt, |
| 1381 int key_modifiers) { | 1382 int key_modifiers) { |
| 1382 DropData drop_data_with_permissions(drop_data); | 1383 DropData drop_data_with_permissions(drop_data); |
| 1383 GrantFileAccessFromDropData(&drop_data_with_permissions); | 1384 GrantFileAccessFromDropData(&drop_data_with_permissions); |
| 1384 Send(new DragMsg_TargetDrop(GetRoutingID(), drop_data_with_permissions, | 1385 Send(new DragMsg_TargetDrop(GetRoutingID(), drop_data_with_permissions, |
| 1385 client_pt, screen_pt, key_modifiers)); | 1386 client_pt, screen_pt, key_modifiers)); |
| (...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2522 // different from the receiver's. | 2523 // different from the receiver's. |
| 2523 file_system_file.url = | 2524 file_system_file.url = |
| 2524 GURL(storage::GetIsolatedFileSystemRootURIString( | 2525 GURL(storage::GetIsolatedFileSystemRootURIString( |
| 2525 file_system_url.origin(), filesystem_id, std::string()) | 2526 file_system_url.origin(), filesystem_id, std::string()) |
| 2526 .append(register_name)); | 2527 .append(register_name)); |
| 2527 file_system_file.filesystem_id = filesystem_id; | 2528 file_system_file.filesystem_id = filesystem_id; |
| 2528 } | 2529 } |
| 2529 } | 2530 } |
| 2530 | 2531 |
| 2531 } // namespace content | 2532 } // namespace content |
| OLD | NEW |