OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common_param_traits.h" | 8 #include "content/common/common_param_traits.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 #include "third_party/skia/include/core/SkBitmap.h" | 10 #include "third_party/skia/include/core/SkBitmap.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 IPC_MESSAGE_ROUTED4(DragHostMsg_StartDragging, | 68 IPC_MESSAGE_ROUTED4(DragHostMsg_StartDragging, |
69 WebDropData /* drop_data */, | 69 WebDropData /* drop_data */, |
70 WebKit::WebDragOperationsMask /* ops_allowed */, | 70 WebKit::WebDragOperationsMask /* ops_allowed */, |
71 SkBitmap /* image */, | 71 SkBitmap /* image */, |
72 gfx::Point /* image_offset */) | 72 gfx::Point /* image_offset */) |
73 | 73 |
74 // The page wants to update the mouse cursor during a drag & drop operation. | 74 // The page wants to update the mouse cursor during a drag & drop operation. |
75 // |is_drop_target| is true if the mouse is over a valid drop target. | 75 // |is_drop_target| is true if the mouse is over a valid drop target. |
76 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, | 76 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, |
77 WebKit::WebDragOperation /* drag_operation */) | 77 WebKit::WebDragOperation /* drag_operation */) |
78 | |
79 // Norifies the host that the renderer finished a drop operation. | |
kkania
2011/05/27 20:48:47
Notifies
nodchip
2011/05/30 04:51:45
Done.
| |
80 IPC_MESSAGE_ROUTED0(DragHostMsg_TargetDrop) | |
kkania
2011/05/27 20:48:47
put an ack on the end of the message name
nodchip
2011/05/30 04:51:45
Done.
| |
OLD | NEW |