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

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

Issue 340052: Clean up temp scaffolding stubs some. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: chrome.gyp Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/dom_ui/downloads_ui.cc ('k') | chrome/browser/first_run.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Download utilities. 5 // Download utilities.
6 6
7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 int origin_x, 118 int origin_x,
119 int origin_y, 119 int origin_y,
120 double animation_progress, 120 double animation_progress,
121 PaintDownloadProgressSize size); 121 PaintDownloadProgressSize size);
122 122
123 // Drag support ---------------------------------------------------------------- 123 // Drag support ----------------------------------------------------------------
124 124
125 // Helper function for download views to use when acting as a drag source for a 125 // Helper function for download views to use when acting as a drag source for a
126 // DownloadItem. If |icon| is NULL, no image will be accompany the drag. |view| 126 // DownloadItem. If |icon| is NULL, no image will be accompany the drag. |view|
127 // is only required for Mac OS X, elsewhere it can be NULL. 127 // is only required for Mac OS X, elsewhere it can be NULL.
128 #if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
129 void DragDownload(const DownloadItem* download, 128 void DragDownload(const DownloadItem* download,
130 SkBitmap* icon, 129 SkBitmap* icon,
131 gfx::NativeView view); 130 gfx::NativeView view);
132 #endif
133 131
134 // Executable file support ----------------------------------------------------- 132 // Executable file support -----------------------------------------------------
135 133
136 // Copy all executable file extensions. 134 // Copy all executable file extensions.
137 void InitializeExeTypes(std::set<std::string>* exe_extensions); 135 void InitializeExeTypes(std::set<std::string>* exe_extensions);
138 136
139 } // namespace download_util 137 } // namespace download_util
140 138
141 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 139 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/downloads_ui.cc ('k') | chrome/browser/first_run.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698