diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 16:48:17 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 16:48:17 +0000 |
commit | e582fdd525662debfd317452d87846b876a7bf70 (patch) | |
tree | 0ebe0939ce3740d1d39f0dffaae495ba9037f6b8 /chrome/browser/ui/gtk/custom_drag.h | |
parent | 9a575dadac75f0b9476f4335e4047057dd9ccd8d (diff) | |
download | chromium_src-e582fdd525662debfd317452d87846b876a7bf70.zip chromium_src-e582fdd525662debfd317452d87846b876a7bf70.tar.gz chromium_src-e582fdd525662debfd317452d87846b876a7bf70.tar.bz2 |
Move DownloadFile/DownloadItem/DownloadManager interfaces into content/public/browser, and also put them into the content namespace.
BUG=98716
Review URL: http://codereview.chromium.org/9004005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/gtk/custom_drag.h')
-rw-r--r-- | chrome/browser/ui/gtk/custom_drag.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/chrome/browser/ui/gtk/custom_drag.h b/chrome/browser/ui/gtk/custom_drag.h index 955314a..3fd7d34 100644 --- a/chrome/browser/ui/gtk/custom_drag.h +++ b/chrome/browser/ui/gtk/custom_drag.h @@ -14,9 +14,12 @@ #include "ui/base/gtk/gtk_signal.h" class BookmarkNode; -class DownloadItem; class Profile; +namespace content { +class DownloadItem; +} + namespace gfx { class Image; } @@ -62,22 +65,22 @@ class DownloadItemDrag : public CustomDrag { // DownloadItemDrag object is created. // It is safe to call this multiple times with different values of |icon|. static void SetSource(GtkWidget* widget, - DownloadItem* item, + content::DownloadItem* item, gfx::Image* icon); // Creates a new DownloadItemDrag, the lifetime of which is tied to the // system drag. - static void BeginDrag(const DownloadItem* item, gfx::Image* icon); + static void BeginDrag(const content::DownloadItem* item, gfx::Image* icon); private: - DownloadItemDrag(const DownloadItem* item, gfx::Image* icon); + DownloadItemDrag(const content::DownloadItem* item, gfx::Image* icon); virtual ~DownloadItemDrag(); virtual void OnDragDataGet(GtkWidget* widget, GdkDragContext* context, GtkSelectionData* selection_data, guint target_type, guint time) OVERRIDE; - const DownloadItem* download_item_; + const content::DownloadItem* download_item_; DISALLOW_COPY_AND_ASSIGN(DownloadItemDrag); }; |