summaryrefslogtreecommitdiffstats
path: root/content/public/browser
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-05 03:11:41 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-05 03:11:41 +0000
commit49a8382d6bd4d21a0fc9e742c86bc96216b5c6f7 (patch)
treeee1b79814c6c857811d85ecd578040f678f4041d /content/public/browser
parentc205e0cb8ee0ab65276ce7e34f263bc85abe0bd4 (diff)
downloadchromium_src-49a8382d6bd4d21a0fc9e742c86bc96216b5c6f7.zip
chromium_src-49a8382d6bd4d21a0fc9e742c86bc96216b5c6f7.tar.gz
chromium_src-49a8382d6bd4d21a0fc9e742c86bc96216b5c6f7.tar.bz2
Add a first-class off-store install UI to chrome://extensions/.
This patch implements GTK only. Other ports will be separate CLs. BUG=55584 Review URL: https://chromiumcodereview.appspot.com/10270031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135525 0039d316-1c4b-4281-b951-d872f2087c98
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