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

Unified Diff: content/common/browser_plugin_messages.h

Issue 11088043: browser-plugin: Allow accepting drag-n-drop events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
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..d0b7123359382c2a1301ff526d0309d4cc324ac0 100644
--- a/content/common/browser_plugin_messages.h
+++ b/content/common/browser_plugin_messages.h
@@ -14,15 +14,20 @@
#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/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 +127,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,
jam 2012/10/10 20:14:46 nit: see the convention in this file of putting th
sadrul 2012/10/10 20:23:10 Fixed.
+ WebDropData,
+ WebKit::WebDragOperationsMask,
+ gfx::Point);
+
// -----------------------------------------------------------------------------
// These messages are from the guest renderer to the browser process

Powered by Google App Engine
This is Rietveld 408576698