summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_util.cc')
-rw-r--r--chrome/browser/download/download_util.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index 48cb86f..611b199 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -34,10 +34,14 @@
#include "views/drag_utils.h"
#endif
-#if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
+#if defined(OS_LINUX)
+#if defined(TOOLKIT_VIEWS)
#include "app/drag_drop_types.h"
#include "views/widget/widget_gtk.h"
-#endif
+#elif defined(TOOLKIT_GTK)
+#include "chrome/browser/gtk/download_item_drag.h"
+#endif // defined(TOOLKIT_GTK)
+#endif // defined(OS_LINUX)
#if defined(OS_WIN)
#include "app/os_exchange_data_provider_win.h"
@@ -294,7 +298,7 @@ void DragDownload(const DownloadItem* download,
void DragDownload(const DownloadItem* download,
SkBitmap* icon,
gfx::NativeView view) {
- NOTIMPLEMENTED();
+ DownloadItemDrag::BeginDrag(download, icon);
}
#endif // OS_LINUX