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

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

Issue 9757001: Support custom drag-and-drop of bookmarks in Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor style fixes from CR Created 8 years, 9 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/content_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_drag_dest_delegate.h
diff --git a/content/public/browser/web_drag_dest_delegate.h b/content/public/browser/web_drag_dest_delegate.h
index 7924a6411a2e71d17d63fa41b4d1647631da2e33..bb65e16f6d1de64d515bad73c122ba4b51726d0e 100644
--- a/content/public/browser/web_drag_dest_delegate.h
+++ b/content/public/browser/web_drag_dest_delegate.h
@@ -36,7 +36,7 @@ class WebDragDestDelegate {
virtual void DragInitialize(WebContents* contents) = 0;
// Notifications of drag progression.
-#if defined(OS_WIN)
+#if defined(OS_WIN) && !defined(USE_AURA)
virtual void OnDragOver(IDataObject* data_object) = 0;
virtual void OnDragEnter(IDataObject* data_object) = 0;
virtual void OnDrop(IDataObject* data_object) = 0;
@@ -58,6 +58,10 @@ class WebDragDestDelegate {
virtual void OnReceiveDataFromGtk(GtkSelectionData* data) = 0;
virtual void OnReceiveProcessedData(const GURL& url,
const string16& title) = 0;
+#elif defined(USE_AURA)
+ // Called at the start of every drag to supply the data associated with the
+ // drag.
+ virtual void OnReceiveDragData(const ui::OSExchangeData& data) = 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.
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698