| 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 #ifndef CONTENT_COMMON_DRAG_MESSAGES_H_ |
| 6 #define CONTENT_COMMON_DRAG_MESSAGES_H_ |
| 7 |
| 5 // IPC messages for drag and drop. | 8 // IPC messages for drag and drop. |
| 6 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
| 7 | 10 |
| 8 #include <vector> | 11 #include <vector> |
| 9 | 12 |
| 10 #include "content/common/drag_event_source_info.h" | 13 #include "content/common/drag_event_source_info.h" |
| 11 #include "content/public/common/drop_data.h" | 14 #include "content/public/common/drop_data.h" |
| 12 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
| 13 #include "third_party/WebKit/public/platform/WebDragOperation.h" | 16 #include "third_party/WebKit/public/platform/WebDragOperation.h" |
| 14 #include "third_party/skia/include/core/SkBitmap.h" | 17 #include "third_party/skia/include/core/SkBitmap.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 content::DropData /* drop_data */, | 64 content::DropData /* drop_data */, |
| 62 blink::WebDragOperationsMask /* ops_allowed */, | 65 blink::WebDragOperationsMask /* ops_allowed */, |
| 63 SkBitmap /* image */, | 66 SkBitmap /* image */, |
| 64 gfx::Vector2d /* image_offset */, | 67 gfx::Vector2d /* image_offset */, |
| 65 content::DragEventSourceInfo /* event_info */) | 68 content::DragEventSourceInfo /* event_info */) |
| 66 | 69 |
| 67 // The page wants to update the mouse cursor during a drag & drop operation. | 70 // The page wants to update the mouse cursor during a drag & drop operation. |
| 68 // |is_drop_target| is true if the mouse is over a valid drop target. | 71 // |is_drop_target| is true if the mouse is over a valid drop target. |
| 69 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, | 72 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, |
| 70 blink::WebDragOperation /* drag_operation */) | 73 blink::WebDragOperation /* drag_operation */) |
| 74 |
| 75 #endif // CONTENT_COMMON_DRAG_MESSAGES_H_ |
| OLD | NEW |