Index: content/browser/browser_plugin/browser_plugin_guest_helper.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest_helper.cc b/content/browser/browser_plugin/browser_plugin_guest_helper.cc |
index 68512ca4b322f160ef99dadfec65639c4a5c3f0f..b1de4d9a2ca9378c4d22eea87bed93ec3c5e2c3d 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest_helper.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest_helper.cc |
@@ -6,6 +6,7 @@ |
#include "content/browser/browser_plugin/browser_plugin_guest.h" |
#include "content/browser/web_contents/web_contents_impl.h" |
+#include "content/common/drag_messages.h" |
#include "content/common/view_messages.h" |
#include "content/public/browser/render_view_host.h" |
@@ -25,6 +26,7 @@ bool BrowserPluginGuestHelper::OnMessageReceived( |
const IPC::Message& message) { |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(BrowserPluginGuestHelper, message) |
+ IPC_MESSAGE_HANDLER(DragHostMsg_UpdateDragCursor, OnUpdateDragCursor) |
IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateRect, OnUpdateRect) |
IPC_MESSAGE_HANDLER(ViewHostMsg_HandleInputEvent_ACK, OnHandleInputEventAck) |
IPC_MESSAGE_HANDLER(ViewHostMsg_TakeFocus, OnTakeFocus) |
@@ -37,6 +39,11 @@ bool BrowserPluginGuestHelper::OnMessageReceived( |
return handled; |
} |
+void BrowserPluginGuestHelper::OnUpdateDragCursor( |
+ WebKit::WebDragOperation current_op) { |
+ guest_->UpdateDragCursor(current_op); |
+} |
+ |
void BrowserPluginGuestHelper::OnUpdateRect( |
const ViewHostMsg_UpdateRect_Params& params) { |
guest_->UpdateRect(render_view_host(), params); |