Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Side by Side Diff: chrome/browser/download/download_util.h

Issue 23271005: Move DragDownload() out of download_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drag_download_item Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_DOWNLOAD_UTIL_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
7
8 #include "ui/gfx/native_widget_types.h"
9
10 namespace content {
11 class DownloadItem;
12 }
13
14 namespace gfx {
15 class Image;
16 }
17
18 namespace download_util {
19
20 // Helper function for download views to use when acting as a drag source for a
21 // DownloadItem. If |icon| is NULL, no image will be accompany the drag. |view|
22 // is only required for Mac OS X, elsewhere it can be NULL.
23 void DragDownload(const content::DownloadItem* download,
24 gfx::Image* icon,
25 gfx::NativeView view);
26
27 } // namespace download_util
28
29 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_target_determiner_unittest.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698