Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: content/common/drag_messages.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/drop_data.h" 9 #include "content/public/common/drop_data.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 14 matching lines...) Expand all
25 int /* key_modifiers */) 25 int /* key_modifiers */)
26 26
27 IPC_MESSAGE_ROUTED4(DragMsg_TargetDragOver, 27 IPC_MESSAGE_ROUTED4(DragMsg_TargetDragOver,
28 gfx::Point /* client_pt */, 28 gfx::Point /* client_pt */,
29 gfx::Point /* screen_pt */, 29 gfx::Point /* screen_pt */,
30 blink::WebDragOperationsMask /* ops_allowed */, 30 blink::WebDragOperationsMask /* ops_allowed */,
31 int /* key_modifiers */) 31 int /* key_modifiers */)
32 32
33 IPC_MESSAGE_ROUTED0(DragMsg_TargetDragLeave) 33 IPC_MESSAGE_ROUTED0(DragMsg_TargetDragLeave)
34 34
35 IPC_MESSAGE_ROUTED3(DragMsg_TargetDrop, 35 IPC_MESSAGE_ROUTED4(DragMsg_TargetDrop,
36 content::DropData /* drop_data */,
36 gfx::Point /* client_pt */, 37 gfx::Point /* client_pt */,
37 gfx::Point /* screen_pt */, 38 gfx::Point /* screen_pt */,
38 int /* key_modifiers */) 39 int /* key_modifiers */)
39 40
40 // Notifies the renderer when and where the mouse-drag ended. 41 // Notifies the renderer when and where the mouse-drag ended.
41 IPC_MESSAGE_ROUTED3(DragMsg_SourceEnded, 42 IPC_MESSAGE_ROUTED3(DragMsg_SourceEnded,
42 gfx::Point /* client_pt */, 43 gfx::Point /* client_pt */,
43 gfx::Point /* screen_pt */, 44 gfx::Point /* screen_pt */,
44 blink::WebDragOperation /* drag_operation */) 45 blink::WebDragOperation /* drag_operation */)
45 46
(...skipping 10 matching lines...) Expand all
56 content::DropData /* drop_data */, 57 content::DropData /* drop_data */,
57 blink::WebDragOperationsMask /* ops_allowed */, 58 blink::WebDragOperationsMask /* ops_allowed */,
58 SkBitmap /* image */, 59 SkBitmap /* image */,
59 gfx::Vector2d /* image_offset */, 60 gfx::Vector2d /* image_offset */,
60 content::DragEventSourceInfo /* event_info */) 61 content::DragEventSourceInfo /* event_info */)
61 62
62 // The page wants to update the mouse cursor during a drag & drop operation. 63 // The page wants to update the mouse cursor during a drag & drop operation.
63 // |is_drop_target| is true if the mouse is over a valid drop target. 64 // |is_drop_target| is true if the mouse is over a valid drop target.
64 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, 65 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor,
65 blink::WebDragOperation /* drag_operation */) 66 blink::WebDragOperation /* drag_operation */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698