summaryrefslogtreecommitdiffstats
path: root/content/public/browser
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser')
-rw-r--r--content/public/browser/web_contents_view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/public/browser/web_contents_view.h b/content/public/browser/web_contents_view.h
index 73abdc5..2d2394f 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"
+struct 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