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

Unified Diff: content/browser/tab_contents/web_drag_dest_delegate.h

Issue 9581003: Get rid of chrome dependencies from tab_contents_drag_win.cc. After this I'll move it to content\br… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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
Index: content/browser/tab_contents/web_drag_dest_delegate.h
===================================================================
--- content/browser/tab_contents/web_drag_dest_delegate.h (revision 124607)
+++ content/browser/tab_contents/web_drag_dest_delegate.h (working copy)
@@ -17,7 +17,12 @@
#endif
class GURL;
+struct WebDropData;
+namespace ui {
+class OSExchangeData;
+}
+
namespace content {
class WebContents;
@@ -53,6 +58,11 @@
virtual void OnReceiveDataFromGtk(GtkSelectionData* data) = 0;
virtual void OnReceiveProcessedData(const GURL& url,
const string16& title) = 0;
+#elif defined(OS_WIN)
+ // Allows the delegate to set data on the drag. If it doesn't want to set
+ // data, it should return false.
+ virtual bool AddDragData(const WebDropData& drop_data,
+ ui::OSExchangeData* data) = 0;
#endif // TOOLKIT_USES_GTK
virtual ~WebDragDestDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698