Index: content/public/browser/web_contents_view.h |
diff --git a/content/public/browser/web_contents_view.h b/content/public/browser/web_contents_view.h |
index 73abdc53479f1179d5d2e80e454f0301400a491e..f8a7bbb4772e2662ce6f3654b2270957684eb3a8 100644 |
--- a/content/public/browser/web_contents_view.h |
+++ b/content/public/browser/web_contents_view.h |
@@ -15,6 +15,8 @@ |
#include "ui/gfx/rect.h" |
#include "ui/gfx/size.h" |
+class WebDropData; |
+ |
namespace content { |
class RenderViewHost; |
@@ -107,6 +109,9 @@ class CONTENT_EXPORT WebContentsView |
virtual bool IsDoingDrag() const = 0; |
virtual void CancelDragAndCloseTab() = 0; |
+ // Returns the current drop data, if any. |
+ virtual WebDropData* GetDropData() const = 0; |
+ |
// If we close the tab while a UI control is in an event-tracking |
// loop, the control may message freed objects and crash. |
// WebContents::Close() calls IsEventTracking(), and if it returns |