| Index: chrome/browser/download/download_util.h
|
| ===================================================================
|
| --- chrome/browser/download/download_util.h (revision 23544)
|
| +++ chrome/browser/download/download_util.h (working copy)
|
| @@ -11,6 +11,7 @@
|
| #include <string>
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/gfx/native_widget_types.h"
|
| #include "base/task.h"
|
|
|
| #if defined(OS_WIN) || defined(TOOLKIT_VIEWS)
|
| @@ -119,12 +120,15 @@
|
| double animation_progress,
|
| PaintDownloadProgressSize size);
|
|
|
| -#if defined(OS_WIN) || defined(TOOLKIT_VIEWS)
|
| +#if defined(OS_WIN) || defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
|
| // Drag support ----------------------------------------------------------------
|
|
|
| // Helper function for download views to use when acting as a drag source for a
|
| -// DownloadItem. If 'icon' is NULL, no image will be accompany the drag.
|
| -void DragDownload(const DownloadItem* download, SkBitmap* icon);
|
| +// DownloadItem. If |icon| is NULL, no image will be accompany the drag. |view|
|
| +// is only required for Mac OS X, elsewhere it can be NULL.
|
| +void DragDownload(const DownloadItem* download,
|
| + SkBitmap* icon,
|
| + gfx::NativeView view);
|
| #endif
|
|
|
| // Executable file support -----------------------------------------------------
|
|
|