| 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 // IPC messages for drag and drop. | 5 // IPC messages for drag and drop. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "content/common/drag_event_source_info.h" | 10 #include "content/common/drag_event_source_info.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 gfx::Point /* screen_pt */, | 25 gfx::Point /* screen_pt */, |
| 26 blink::WebDragOperationsMask /* ops_allowed */, | 26 blink::WebDragOperationsMask /* ops_allowed */, |
| 27 int /* key_modifiers */) | 27 int /* key_modifiers */) |
| 28 | 28 |
| 29 IPC_MESSAGE_ROUTED4(DragMsg_TargetDragOver, | 29 IPC_MESSAGE_ROUTED4(DragMsg_TargetDragOver, |
| 30 gfx::Point /* client_pt */, | 30 gfx::Point /* client_pt */, |
| 31 gfx::Point /* screen_pt */, | 31 gfx::Point /* screen_pt */, |
| 32 blink::WebDragOperationsMask /* ops_allowed */, | 32 blink::WebDragOperationsMask /* ops_allowed */, |
| 33 int /* key_modifiers */) | 33 int /* key_modifiers */) |
| 34 | 34 |
| 35 IPC_MESSAGE_ROUTED0(DragMsg_TargetDragLeave) | 35 IPC_MESSAGE_ROUTED2(DragMsg_TargetDragLeave, |
| 36 gfx::Point /* client_point */, |
| 37 gfx::Point /* screen_point */) |
| 36 | 38 |
| 37 IPC_MESSAGE_ROUTED4(DragMsg_TargetDrop, | 39 IPC_MESSAGE_ROUTED4(DragMsg_TargetDrop, |
| 38 content::DropData /* drop_data */, | 40 content::DropData /* drop_data */, |
| 39 gfx::Point /* client_pt */, | 41 gfx::Point /* client_pt */, |
| 40 gfx::Point /* screen_pt */, | 42 gfx::Point /* screen_pt */, |
| 41 int /* key_modifiers */) | 43 int /* key_modifiers */) |
| 42 | 44 |
| 43 // Notifies the renderer when and where the mouse-drag ended. | 45 // Notifies the renderer when and where the mouse-drag ended. |
| 44 IPC_MESSAGE_ROUTED3(DragMsg_SourceEnded, | 46 IPC_MESSAGE_ROUTED3(DragMsg_SourceEnded, |
| 45 gfx::Point /* client_pt */, | 47 gfx::Point /* client_pt */, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 59 content::DropData /* drop_data */, | 61 content::DropData /* drop_data */, |
| 60 blink::WebDragOperationsMask /* ops_allowed */, | 62 blink::WebDragOperationsMask /* ops_allowed */, |
| 61 SkBitmap /* image */, | 63 SkBitmap /* image */, |
| 62 gfx::Vector2d /* image_offset */, | 64 gfx::Vector2d /* image_offset */, |
| 63 content::DragEventSourceInfo /* event_info */) | 65 content::DragEventSourceInfo /* event_info */) |
| 64 | 66 |
| 65 // The page wants to update the mouse cursor during a drag & drop operation. | 67 // The page wants to update the mouse cursor during a drag & drop operation. |
| 66 // |is_drop_target| is true if the mouse is over a valid drop target. | 68 // |is_drop_target| is true if the mouse is over a valid drop target. |
| 67 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, | 69 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, |
| 68 blink::WebDragOperation /* drag_operation */) | 70 blink::WebDragOperation /* drag_operation */) |
| OLD | NEW |