Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 8e5057e0e849a9b7a3da8eb9445fc045111c4879..5254453e8cb27882d6b0972a5f3ebee91f029804 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -631,9 +631,17 @@ class CONTENT_EXPORT RenderViewImpl |
const gfx::Point& screen_point, |
blink::WebDragOperation drag_operation); |
void OnDragSourceSystemDragEnded(); |
- void OnDragTargetDrop(const gfx::Point& client_pt, |
+ // |drop_data| will only be used when drop data is valid. This is |
+ // because on most platforms (Aura), the drop data is available when the drag |
+ // starts and stays the same until it's dropped. On Android, the drop data is |
+ // unavailable until DragTargetDrop. So on Android, |drop_data| will contain |
+ // the real data. |
+ void OnDragTargetDrop(const DropData& drop_data, |
+ const gfx::Point& client_pt, |
const gfx::Point& screen_pt, |
int key_modifiers); |
+ // On Android, |drop_data| will contain dummy data because drop data is |
+ // unavailable until 'drop' action. |
void OnDragTargetDragEnter(const DropData& drop_data, |
const gfx::Point& client_pt, |
const gfx::Point& screen_pt, |