Index: content/common/browser_plugin_messages.h |
diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h |
index 6bc5154b13372c0566e61d2e4b36ac9d39d54971..c78ea145f834379970164c74819161c7e97c2a91 100644 |
--- a/content/common/browser_plugin_messages.h |
+++ b/content/common/browser_plugin_messages.h |
@@ -14,15 +14,21 @@ |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_message_macros.h" |
#include "ipc/ipc_message_utils.h" |
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h" |
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
+#include "ui/gfx/point.h" |
#include "ui/gfx/rect.h" |
#include "ui/gfx/size.h" |
#include "webkit/glue/webcursor.h" |
+#include "webkit/glue/webdropdata.h" |
#undef IPC_MESSAGE_EXPORT |
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
#define IPC_MESSAGE_START BrowserPluginMsgStart |
+IPC_ENUM_TRAITS(WebKit::WebDragStatus) |
+ |
// Browser plugin messages |
// ----------------------------------------------------------------------------- |
@@ -122,6 +128,14 @@ IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility, |
int /* instance_id */, |
bool /* visible */) |
+// Tells the guest that a drag event happened on the plugin. |
+IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_DragStatusUpdate, |
+ int /* instance_id */, |
+ WebKit::WebDragStatus /* drag_status */, |
+ WebDropData /* drop_data */, |
+ WebKit::WebDragOperationsMask /* operation_mask */, |
+ gfx::Point /* plugin_location */) |
+ |
// ----------------------------------------------------------------------------- |
// These messages are from the guest renderer to the browser process |