Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1929)

Unified Diff: content/public/browser/web_contents_view.h

Issue 10378026: Reland 135525 - Add a first-class off-store install UI to chrome://extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_drag_dest_gtk.h ('k') | content/test/test_web_contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2d2394f286c0a14ecc4412d61bb2605097a59cde 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
« no previous file with comments | « content/browser/web_contents/web_drag_dest_gtk.h ('k') | content/test/test_web_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698