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 "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 gfx::Vector2d /* image_offset */, | 62 gfx::Vector2d /* image_offset */, |
63 content::DragEventSourceInfo /* event_info */) | 63 content::DragEventSourceInfo /* event_info */) |
64 | 64 |
65 // 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. |
66 // |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. |
67 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, | 67 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, |
68 WebKit::WebDragOperation /* drag_operation */) | 68 WebKit::WebDragOperation /* drag_operation */) |
69 | 69 |
70 // Notifies the host that the renderer finished a drop operation. | 70 // Notifies the host that the renderer finished a drop operation. |
71 IPC_MESSAGE_ROUTED0(DragHostMsg_TargetDrop_ACK) | 71 IPC_MESSAGE_ROUTED0(DragHostMsg_TargetDrop_ACK) |
72 | |
73 // Notifies the host that the drag operation has stopped. | |
74 IPC_MESSAGE_ROUTED0(DragHostMsg_DragStopped) | |
Fady Samuel
2013/02/01 14:59:28
Why do we need to introduce a new message?
mthiesse
2013/02/01 15:43:54
We need a message that can be sent to the embedder
| |
OLD | NEW |