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.
5 #ifndef CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_
6 #define CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_
8 #include "ui/gfx/native_widget_types.h"
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.
21 void DragDownloadItem(const content::DownloadItem
* download
,
23 gfx::NativeView view
);
25 #endif // CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_