summaryrefslogtreecommitdiffstats
path: root/content/renderer/browser_plugin/browser_plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/browser_plugin/browser_plugin.cc')
-rw-r--r--content/renderer/browser_plugin/browser_plugin.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index 294cec0..9e4b961 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -761,6 +761,24 @@ bool BrowserPlugin::handleInputEvent(const WebKit::WebInputEvent& event,
return handled;
}
+bool BrowserPlugin::handleDragStatusUpdate(WebKit::WebDragStatus drag_status,
+ const WebKit::WebDragData& drag_data,
+ WebKit::WebDragOperationsMask mask,
+ const WebKit::WebPoint& position,
+ const WebKit::WebPoint& screen) {
+ if (guest_crashed_ || !navigate_src_sent_)
+ return false;
+ BrowserPluginManager::Get()->Send(
+ new BrowserPluginHostMsg_DragStatusUpdate(
+ render_view_->GetRoutingID(),
+ instance_id_,
+ drag_status,
+ WebDropData(drag_data),
+ mask,
+ position));
+ return false;
+}
+
void BrowserPlugin::didReceiveResponse(
const WebKit::WebURLResponse& response) {
}