Index: content/common/browser_plugin_messages.h |
diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h |
index 67520a85e4f79f2a55d27a3b91126c13247670e5..69de1ee9c191ae663cd3547a57cbb0431514c54b 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 |