| 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 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1366 | 1366 |
| 1367 void RenderWidgetHostImpl::DragTargetDragOver( | 1367 void RenderWidgetHostImpl::DragTargetDragOver( |
| 1368 const gfx::Point& client_pt, | 1368 const gfx::Point& client_pt, |
| 1369 const gfx::Point& screen_pt, | 1369 const gfx::Point& screen_pt, |
| 1370 WebDragOperationsMask operations_allowed, | 1370 WebDragOperationsMask operations_allowed, |
| 1371 int key_modifiers) { | 1371 int key_modifiers) { |
| 1372 Send(new DragMsg_TargetDragOver(GetRoutingID(), client_pt, screen_pt, | 1372 Send(new DragMsg_TargetDragOver(GetRoutingID(), client_pt, screen_pt, |
| 1373 operations_allowed, key_modifiers)); | 1373 operations_allowed, key_modifiers)); |
| 1374 } | 1374 } |
| 1375 | 1375 |
| 1376 void RenderWidgetHostImpl::DragTargetDragLeave() { | 1376 void RenderWidgetHostImpl::DragTargetDragLeave(const gfx::Point& client_point, |
| 1377 Send(new DragMsg_TargetDragLeave(GetRoutingID())); | 1377 const gfx::Point& screen_point) { |
| 1378 Send(new DragMsg_TargetDragLeave(GetRoutingID(), client_point, screen_point)); |
| 1378 } | 1379 } |
| 1379 | 1380 |
| 1380 void RenderWidgetHostImpl::DragTargetDrop(const DropData& drop_data, | 1381 void RenderWidgetHostImpl::DragTargetDrop(const DropData& drop_data, |
| 1381 const gfx::Point& client_pt, | 1382 const gfx::Point& client_pt, |
| 1382 const gfx::Point& screen_pt, | 1383 const gfx::Point& screen_pt, |
| 1383 int key_modifiers) { | 1384 int key_modifiers) { |
| 1384 DropData drop_data_with_permissions(drop_data); | 1385 DropData drop_data_with_permissions(drop_data); |
| 1385 GrantFileAccessFromDropData(&drop_data_with_permissions); | 1386 GrantFileAccessFromDropData(&drop_data_with_permissions); |
| 1386 Send(new DragMsg_TargetDrop(GetRoutingID(), drop_data_with_permissions, | 1387 Send(new DragMsg_TargetDrop(GetRoutingID(), drop_data_with_permissions, |
| 1387 client_pt, screen_pt, key_modifiers)); | 1388 client_pt, screen_pt, key_modifiers)); |
| (...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2506 // different from the receiver's. | 2507 // different from the receiver's. |
| 2507 file_system_file.url = | 2508 file_system_file.url = |
| 2508 GURL(storage::GetIsolatedFileSystemRootURIString( | 2509 GURL(storage::GetIsolatedFileSystemRootURIString( |
| 2509 file_system_url.origin(), filesystem_id, std::string()) | 2510 file_system_url.origin(), filesystem_id, std::string()) |
| 2510 .append(register_name)); | 2511 .append(register_name)); |
| 2511 file_system_file.filesystem_id = filesystem_id; | 2512 file_system_file.filesystem_id = filesystem_id; |
| 2512 } | 2513 } |
| 2513 } | 2514 } |
| 2514 | 2515 |
| 2515 } // namespace content | 2516 } // namespace content |
| OLD | NEW |