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/public/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" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
12 #include "ui/gfx/point.h" | 12 #include "ui/gfx/point.h" |
13 #include "webkit/glue/webdropdata.h" | 13 #include "webkit/glue/webdropdata.h" |
14 | 14 |
15 #define IPC_MESSAGE_START DragMsgStart | 15 #define IPC_MESSAGE_START DragMsgStart |
16 | 16 |
17 IPC_ENUM_TRAITS(WebKit::WebDragOperation) | 17 IPC_ENUM_TRAITS(WebKit::WebDragOperation) |
18 | 18 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 78 |
79 // Notifies the host that the renderer finished a drop operation. | 79 // Notifies the host that the renderer finished a drop operation. |
80 IPC_MESSAGE_ROUTED0(DragHostMsg_TargetDrop_ACK) | 80 IPC_MESSAGE_ROUTED0(DragHostMsg_TargetDrop_ACK) |
OLD | NEW |