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

Unified Diff: content/public/browser/render_widget_host.h

Issue 2505113002: Drag-and-drop: Target drag messages to specific RenderWidgets. (Closed)
Patch Set: Small fix. 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/public/browser/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index f1e4984aa2bea13543abce934d55c31a8e4a0898..0cda573dd0dbbf3126444ccbee30054cab779341 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -285,11 +285,11 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
const gfx::Point& screen_pt,
int key_modifiers) {}
- // Notifies the renderer that a a drag operation that it started has ended,
+ // Notifies the renderer that a drag operation that it started has ended,
// either in a drop or by being cancelled.
- virtual void DragSourceEndedAt(
- int client_x, int client_y, int screen_x, int screen_y,
- blink::WebDragOperation operation) {};
+ virtual void DragSourceEndedAt(const gfx::Point& client_pt,
+ const gfx::Point& screen_pt,
+ blink::WebDragOperation operation) {};
// Notifies the renderer that we're done with the drag and drop operation.
// This allows the renderer to reset some state.

Powered by Google App Engine
This is Rietveld 408576698