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

Unified Diff: chrome/browser/ui/gtk/download/download_item_drag.h

Issue 23743003: gtk: Fold bookmark_drag.* into bookmark_drag_drop_gtk.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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: chrome/browser/ui/gtk/download/download_item_drag.h
diff --git a/chrome/browser/ui/gtk/download/download_item_drag.h b/chrome/browser/ui/gtk/download/download_item_drag.h
index 9e626c70e418e7f244a7d96068fd99d08f136354..703088c123c296a765a797b8174f8525010ba8bf 100644
--- a/chrome/browser/ui/gtk/download/download_item_drag.h
+++ b/chrome/browser/ui/gtk/download/download_item_drag.h
@@ -17,6 +17,8 @@ class DownloadItem;
// Encapsulates functionality for drags of download items.
class DownloadItemDrag : public CustomDrag {
public:
+ DownloadItemDrag(const content::DownloadItem* item, gfx::Image* icon);
+
// Sets |widget| as a source for drags pertaining to |item|. No
// DownloadItemDrag object is created.
// It is safe to call this multiple times with different values of |icon|.
@@ -24,14 +26,9 @@ class DownloadItemDrag : public CustomDrag {
const content::DownloadItem* item,
gfx::Image* icon);
- // Creates a new DownloadItemDrag, the lifetime of which is tied to the
- // system drag.
- static void BeginDrag(const content::DownloadItem* item, gfx::Image* icon);
-
private:
class DragData;
- DownloadItemDrag(const content::DownloadItem* item, gfx::Image* icon);
virtual ~DownloadItemDrag();
virtual void OnDragDataGet(GtkWidget* widget,
« no previous file with comments | « chrome/browser/ui/gtk/bookmarks/bookmark_drag_drop_gtk.cc ('k') | chrome/browser/ui/gtk/download/download_item_drag.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698