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

Side by Side Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 18281002: Move WebDropData to content::DropData and split off conversion function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build error. Created 7 years, 5 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 | Annotate | Revision Log
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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/process.h" 10 #include "base/process.h"
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "cc/output/compositor_frame.h" 13 #include "cc/output/compositor_frame.h"
14 #include "cc/output/compositor_frame_ack.h" 14 #include "cc/output/compositor_frame_ack.h"
15 #include "content/common/browser_plugin/browser_plugin_message_enums.h" 15 #include "content/common/browser_plugin/browser_plugin_message_enums.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "content/common/content_param_traits.h" 17 #include "content/common/content_param_traits.h"
18 #include "content/common/edit_command.h" 18 #include "content/common/edit_command.h"
19 #include "content/public/common/common_param_traits.h" 19 #include "content/public/common/common_param_traits.h"
20 #include "content/public/common/drop_data.h"
20 #include "ipc/ipc_channel_handle.h" 21 #include "ipc/ipc_channel_handle.h"
21 #include "ipc/ipc_message_macros.h" 22 #include "ipc/ipc_message_macros.h"
22 #include "ipc/ipc_message_utils.h" 23 #include "ipc/ipc_message_utils.h"
23 #include "third_party/WebKit/public/web/WebDragOperation.h" 24 #include "third_party/WebKit/public/web/WebDragOperation.h"
24 #include "third_party/WebKit/public/web/WebDragStatus.h" 25 #include "third_party/WebKit/public/web/WebDragStatus.h"
25 #include "ui/gfx/point.h" 26 #include "ui/gfx/point.h"
26 #include "ui/gfx/rect.h" 27 #include "ui/gfx/rect.h"
27 #include "ui/gfx/size.h" 28 #include "ui/gfx/size.h"
28 #include "webkit/common/webdropdata.h"
29 #include "webkit/common/cursors/webcursor.h" 29 #include "webkit/common/cursors/webcursor.h"
30 30
31 #undef IPC_MESSAGE_EXPORT 31 #undef IPC_MESSAGE_EXPORT
32 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 32 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
33 33
34 #define IPC_MESSAGE_START BrowserPluginMsgStart 34 #define IPC_MESSAGE_START BrowserPluginMsgStart
35 35
36 36
37 IPC_ENUM_TRAITS(BrowserPluginPermissionType) 37 IPC_ENUM_TRAITS(BrowserPluginPermissionType)
38 IPC_ENUM_TRAITS(WebKit::WebDragStatus) 38 IPC_ENUM_TRAITS(WebKit::WebDragStatus)
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 // Tells the guest it has been shown or hidden. 235 // Tells the guest it has been shown or hidden.
236 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility, 236 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility,
237 int /* instance_id */, 237 int /* instance_id */,
238 bool /* visible */) 238 bool /* visible */)
239 239
240 // Tells the guest that a drag event happened on the plugin. 240 // Tells the guest that a drag event happened on the plugin.
241 IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_DragStatusUpdate, 241 IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_DragStatusUpdate,
242 int /* instance_id */, 242 int /* instance_id */,
243 WebKit::WebDragStatus /* drag_status */, 243 WebKit::WebDragStatus /* drag_status */,
244 WebDropData /* drop_data */, 244 content::DropData /* drop_data */,
245 WebKit::WebDragOperationsMask /* operation_mask */, 245 WebKit::WebDragOperationsMask /* operation_mask */,
246 gfx::Point /* plugin_location */) 246 gfx::Point /* plugin_location */)
247 247
248 // Response to BrowserPluginMsg_PluginAtPositionRequest, returns the browser 248 // Response to BrowserPluginMsg_PluginAtPositionRequest, returns the browser
249 // plugin instace id and the coordinates (local to the plugin). 249 // plugin instace id and the coordinates (local to the plugin).
250 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_PluginAtPositionResponse, 250 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_PluginAtPositionResponse,
251 int /* instance_id */, 251 int /* instance_id */,
252 int /* request_id */, 252 int /* request_id */,
253 gfx::Point /* position */) 253 gfx::Point /* position */)
254 254
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 // request to the embeddder through this message. 437 // request to the embeddder through this message.
438 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission, 438 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_RequestPermission,
439 int /* instance_id */, 439 int /* instance_id */,
440 BrowserPluginPermissionType /* permission_type */, 440 BrowserPluginPermissionType /* permission_type */,
441 int /* request_id */, 441 int /* request_id */,
442 base::DictionaryValue /* request_info */) 442 base::DictionaryValue /* request_info */)
443 443
444 // Forwards a PointerLock Unlock request to the BrowserPlugin. 444 // Forwards a PointerLock Unlock request to the BrowserPlugin.
445 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */) 445 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_UnlockMouse, int /* instance_id */)
446 446
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_drag_source_mac_unittest.mm ('k') | content/common/drag_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698