Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index b28904316284ab52cca3c9d1210cf1fd767a1e62..3fc46c63d14ee3a3e2aa3a7f286e6813840b3a3c 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -33,6 +33,7 @@ |
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
#include "content/common/navigation_gesture.h" |
#include "content/common/view_message_enums.h" |
+#include "content/public/common/drop_data.h" |
#include "content/public/common/page_zoom.h" |
#include "content/public/common/referrer.h" |
#include "content/public/common/renderer_preferences.h" |
@@ -132,7 +133,6 @@ class RendererDateTimePicker; |
class RendererWebColorChooserImpl; |
class SpeechRecognitionDispatcher; |
class WebPluginDelegateProxy; |
-struct DropData; |
struct FaviconURL; |
struct FileChooserParams; |
struct FileChooserFileInfo; |
@@ -617,10 +617,13 @@ class CONTENT_EXPORT RenderViewImpl |
const gfx::Point& screen_point, |
blink::WebDragOperation drag_operation); |
void OnDragSourceSystemDragEnded(); |
- void OnDragTargetDrop(const gfx::Point& client_pt, |
+ void OnDragTargetDrop(const DropData& drop_data, |
+ const gfx::Point& client_pt, |
const gfx::Point& screen_pt, |
int key_modifiers); |
- void OnDragTargetDragEnter(const DropData& drop_data, |
+ // |drop_meta_data| is a vector of "mimetype" to "kind" pairs. Real data that |
+ // is dragged is not included at DragEnter time. |
+ void OnDragTargetDragEnter(const std::vector<MimeTypeKindPair> drop_meta_data, |
const gfx::Point& client_pt, |
const gfx::Point& screen_pt, |
blink::WebDragOperationsMask operations_allowed, |