diff options
Diffstat (limited to 'chrome/browser/download/download_util.h')
-rw-r--r-- | chrome/browser/download/download_util.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h index 2093f34..0a320db 100644 --- a/chrome/browser/download/download_util.h +++ b/chrome/browser/download/download_util.h @@ -14,7 +14,7 @@ #include "base/gfx/native_widget_types.h" #include "base/task.h" -#if defined(OS_WIN) || defined(TOOLKIT_VIEWS) +#if defined(TOOLKIT_VIEWS) #include "views/view.h" #endif @@ -102,7 +102,7 @@ enum PaintDownloadProgressSize { // drawing in a right-to-left locale, we need to mirror the position of the // progress animation within the containing View. void PaintDownloadProgress(gfx::Canvas* canvas, -#if defined(OS_WIN) || defined(TOOLKIT_VIEWS) +#if defined(TOOLKIT_VIEWS) views::View* containing_view, #endif int origin_x, @@ -112,7 +112,7 @@ void PaintDownloadProgress(gfx::Canvas* canvas, PaintDownloadProgressSize size); void PaintDownloadComplete(gfx::Canvas* canvas, -#if defined(OS_WIN) || defined(TOOLKIT_VIEWS) +#if defined(TOOLKIT_VIEWS) views::View* containing_view, #endif int origin_x, @@ -120,12 +120,12 @@ void PaintDownloadComplete(gfx::Canvas* canvas, double animation_progress, PaintDownloadProgressSize size); -#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. |view| // is only required for Mac OS X, elsewhere it can be NULL. +#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX) void DragDownload(const DownloadItem* download, SkBitmap* icon, gfx::NativeView view); |