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

Unified Diff: content/public/browser/download_manager_delegate.h

Issue 11941015: Move OpenItem/ShowItemInFolder from ContentBrowserClient to DownloadManagerDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _ Created 7 years, 11 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
Index: content/public/browser/download_manager_delegate.h
diff --git a/content/public/browser/download_manager_delegate.h b/content/public/browser/download_manager_delegate.h
index 5333938c3db9f338ec3c8d7fd350759992f027ce..add75c4ce4aee962bff250343dd626ba5ae05908 100644
--- a/content/public/browser/download_manager_delegate.h
+++ b/content/public/browser/download_manager_delegate.h
@@ -117,6 +117,12 @@ class CONTENT_EXPORT DownloadManagerDelegate {
const SavePackagePathPickedCallback& callback) {
}
+ // Opens the file associated with this download.
+ virtual void OpenDownload(DownloadItem* download) {}
+
+ // Shows the download via the OS shell.
+ virtual void ShowDownloadInShell(DownloadItem* download) {}
+
protected:
virtual ~DownloadManagerDelegate();
};

Powered by Google App Engine
This is Rietveld 408576698