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