summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_manager.h
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 20:16:53 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 20:16:53 +0000
commit5e5954879c3321919b2a9f0fc8525d30f90b582b (patch)
treedc0fad3d15c2aa5251aa1c4198d30ae1508a2481 /chrome/browser/download/download_manager.h
parent55a6a095c0fbf341e5773c0f11da57fa1f5572b1 (diff)
downloadchromium_src-5e5954879c3321919b2a9f0fc8525d30f90b582b.zip
chromium_src-5e5954879c3321919b2a9f0fc8525d30f90b582b.tar.gz
chromium_src-5e5954879c3321919b2a9f0fc8525d30f90b582b.tar.bz2
Skip the download shelf altogether for extension downloads. The current UI looks pretty weird with it. This won't work great for larger extensions that take more than a couple of seconds to download, but we'll address that with extension specific UI when the DL manager is refactored.
TEST=download a crx file, verify that it installs with no shelf. download another type of file, verify that it uses the shelf properly. Review URL: http://codereview.chromium.org/113038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_manager.h')
-rw-r--r--chrome/browser/download/download_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h
index 0fb1675..97b731d 100644
--- a/chrome/browser/download/download_manager.h
+++ b/chrome/browser/download/download_manager.h
@@ -372,6 +372,10 @@ class DownloadManager : public base::RefCountedThreadSafe<DownloadManager>,
void OnSearchComplete(HistoryService::Handle handle,
std::vector<int64>* results);
+ // Display a new download in the appropriate browser UI.
+ void ShowDownloadInBrowser(const DownloadCreateInfo& info,
+ DownloadItem* download);
+
// Opens a download. For Chrome extensions call
// ExtensionsServices::InstallExtension, for everything else call
// OpenDownloadInShell.