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

Unified Diff: chrome/browser/download/drag_download_item.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/download/drag_download_item_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/drag_download_item.h
diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/drag_download_item.h
similarity index 59%
rename from chrome/browser/download/download_util.h
rename to chrome/browser/download/drag_download_item.h
index 900e960d8287d2b0298fe87f07f5a2ef76193ade..1f1c2984d3f3f9490266bc3c1ef7c683847057a1 100644
--- a/chrome/browser/download/download_util.h
+++ b/chrome/browser/download/drag_download_item.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
-#define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
+#ifndef CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_
+#define CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_
#include "ui/gfx/native_widget_types.h"
@@ -15,15 +15,11 @@ namespace gfx {
class Image;
}
-namespace download_util {
-
// 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.
-void DragDownload(const content::DownloadItem* download,
- gfx::Image* icon,
- gfx::NativeView view);
-
-} // namespace download_util
+void DragDownloadItem(const content::DownloadItem* download,
+ gfx::Image* icon,
+ gfx::NativeView view);
-#endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
+#endif // CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_ITEM_H_
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/download/drag_download_item_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698