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" | |
10 #include "content/public/common/drop_data.h" | 9 #include "content/public/common/drop_data.h" |
11 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
12 #include "third_party/WebKit/public/web/WebDragOperation.h" | 11 #include "third_party/WebKit/public/web/WebDragOperation.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 12 #include "third_party/skia/include/core/SkBitmap.h" |
14 #include "ui/gfx/geometry/point.h" | 13 #include "ui/gfx/geometry/point.h" |
15 #include "ui/gfx/geometry/vector2d.h" | 14 #include "ui/gfx/geometry/vector2d.h" |
16 | 15 |
17 #define IPC_MESSAGE_START DragMsgStart | 16 #define IPC_MESSAGE_START DragMsgStart |
18 | 17 |
19 // Messages sent from the browser to the renderer. | 18 // Messages sent from the browser to the renderer. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 content::DropData /* drop_data */, | 56 content::DropData /* drop_data */, |
58 blink::WebDragOperationsMask /* ops_allowed */, | 57 blink::WebDragOperationsMask /* ops_allowed */, |
59 SkBitmap /* image */, | 58 SkBitmap /* image */, |
60 gfx::Vector2d /* image_offset */, | 59 gfx::Vector2d /* image_offset */, |
61 content::DragEventSourceInfo /* event_info */) | 60 content::DragEventSourceInfo /* event_info */) |
62 | 61 |
63 // The page wants to update the mouse cursor during a drag & drop operation. | 62 // 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. | 63 // |is_drop_target| is true if the mouse is over a valid drop target. |
65 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, | 64 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, |
66 blink::WebDragOperation /* drag_operation */) | 65 blink::WebDragOperation /* drag_operation */) |
OLD | NEW |