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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 2501213002: Drag-and-drop: dragSourceEndedAt, dragSourceSystemDragEnded (Closed)
Patch Set: Rebased. Added check for !GetWebWidget(). Created 4 years, 1 month 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/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index da14592483ae4c681b7fbec37c4a1ab07d2018d4..284b14d896502805e29be2663bc0ec797f1dff54 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -46,7 +46,6 @@
#include "content/browser/renderer_host/render_widget_host_view_base.h"
#include "content/common/browser_plugin/browser_plugin_messages.h"
#include "content/common/content_switches_internal.h"
-#include "content/common/drag_messages.h"
#include "content/common/frame_messages.h"
#include "content/common/input_messages.h"
#include "content/common/inter_process_time_ticks_converter.h"
@@ -103,7 +102,6 @@
using base::TimeDelta;
using blink::WebConsoleMessage;
-using blink::WebDragOperation;
using blink::WebInputEvent;
using blink::WebMediaPlayerAction;
using blink::WebPluginAction;
@@ -606,19 +604,6 @@ void RenderViewHostImpl::RenderProcessExited(RenderProcessHost* host,
delegate_->RenderViewTerminated(this, status, exit_code);
}
-void RenderViewHostImpl::DragSourceEndedAt(
- int client_x, int client_y, int screen_x, int screen_y,
- WebDragOperation operation) {
- Send(new DragMsg_SourceEnded(GetRoutingID(),
- gfx::Point(client_x, client_y),
- gfx::Point(screen_x, screen_y),
- operation));
-}
-
-void RenderViewHostImpl::DragSourceSystemDragEnded() {
- Send(new DragMsg_SourceSystemDragEnded(GetRoutingID()));
-}
-
bool RenderViewHostImpl::Send(IPC::Message* msg) {
return GetWidget()->Send(msg);
}

Powered by Google App Engine
This is Rietveld 408576698