1// Copyright 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_
6#define CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_
7
8#include "ui/gfx/native_widget_types.h"
9
10namespace content {
11class DownloadItem;
12}
13
14namespace gfx {
15class Image;
16}
17
18// Helper function for download views to use when acting as a drag source for a
19// DownloadItem. If |icon| is NULL, no image will be accompany the drag. |view|
20// is only required for Mac OS X, elsewhere it can be NULL.
21void DragDownloadItem(const content::DownloadItem* download,
22                      gfx::Image* icon,
23                      gfx::NativeView view);
24
25#endif  // CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_
26