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

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

Issue 113920: Dangerous download dialog for linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: mac uses DownloadManager? Created 11 years, 7 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
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/gtk/download_item_gtk.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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 int origin_y, 115 int origin_y,
116 double animation_progress, 116 double animation_progress,
117 PaintDownloadProgressSize size); 117 PaintDownloadProgressSize size);
118 118
119 #if defined(OS_WIN) || defined(TOOLKIT_VIEWS) 119 #if defined(OS_WIN) || defined(TOOLKIT_VIEWS)
120 // Drag support ---------------------------------------------------------------- 120 // Drag support ----------------------------------------------------------------
121 121
122 // Helper function for download views to use when acting as a drag source for a 122 // Helper function for download views to use when acting as a drag source for a
123 // DownloadItem. If 'icon' is NULL, no image will be accompany the drag. 123 // DownloadItem. If 'icon' is NULL, no image will be accompany the drag.
124 void DragDownload(const DownloadItem* download, SkBitmap* icon); 124 void DragDownload(const DownloadItem* download, SkBitmap* icon);
125 #endif
125 126
126 // Executable file support ----------------------------------------------------- 127 // Executable file support -----------------------------------------------------
127 128
128 // Copy all executable file extensions. 129 // Copy all executable file extensions.
129 void InitializeExeTypes(std::set<std::string>* exe_extensions); 130 void InitializeExeTypes(std::set<std::string>* exe_extensions);
130 #endif
131 131
132 } // namespace download_util 132 } // namespace download_util
133 133
134
135 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 134 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/gtk/download_item_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698