Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / download / drag_download_item.h
blob34f028503567fe1895bc93eb4e02211453e08ec9
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"
10 namespace content {
11 class DownloadItem;
14 namespace gfx {
15 class Image;
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,
22 gfx::Image* icon,
23 gfx::NativeView view);
25 #endif // CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_