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

Unified Diff: content/browser/renderer_host/render_view_host_delegate_view.h

Issue 2505113002: Drag-and-drop: Target drag messages to specific RenderWidgets. (Closed)
Patch Set: 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_delegate_view.h
diff --git a/content/browser/renderer_host/render_view_host_delegate_view.h b/content/browser/renderer_host/render_view_host_delegate_view.h
index 63c5a3580edfd1a7f6c1882637348b7787ed9887..f853c0aa34b019a2dc5551c7bdd88ae960af8278 100644
--- a/content/browser/renderer_host/render_view_host_delegate_view.h
+++ b/content/browser/renderer_host/render_view_host_delegate_view.h
@@ -21,6 +21,7 @@ class Vector2d;
namespace content {
class RenderFrameHost;
+class RenderWidgetHost;
struct ContextMenuParams;
struct DropData;
struct MenuItem;
@@ -44,7 +45,8 @@ class CONTENT_EXPORT RenderViewHostDelegateView {
blink::WebDragOperationsMask allowed_ops,
const gfx::ImageSkia& image,
const gfx::Vector2d& image_offset,
- const DragEventSourceInfo& event_info) {}
+ const DragEventSourceInfo& event_info,
+ RenderWidgetHost* source_rwh) {}
ncarter (slow) 2016/11/16 22:31:23 This could be a RenderWidgetHostImpl, and I think
paulmeyer 2016/11/16 22:44:21 I wasn't sure if it was okay to be impl here. I wi
// The page wants to update the mouse cursor during a drag & drop operation.
// |operation| describes the current operation (none, move, copy, link.)

Powered by Google App Engine
This is Rietveld 408576698