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

Unified Diff: content/browser/download/download_item_impl_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/browser/download/download_item_impl_delegate.h
diff --git a/content/browser/download/download_item_impl_delegate.h b/content/browser/download/download_item_impl_delegate.h
index a64c2e65becc0aeb815fb4f55b90e92a3e43556f..b6eebac424f8e28c1f82b5ec1c3e2e84f8890d15 100644
--- a/content/browser/download/download_item_impl_delegate.h
+++ b/content/browser/download/download_item_impl_delegate.h
@@ -77,9 +77,14 @@ class CONTENT_EXPORT DownloadItemImplDelegate {
// Update the persistent store with our information.
virtual void UpdatePersistence(DownloadItemImpl* download);
+ // Opens the file associated with this download.
+ virtual void OpenDownload(DownloadItemImpl* download);
+
+ // Shows the download via the OS shell.
+ virtual void ShowDownloadInShell(DownloadItemImpl* download);
+
// Handle any delegate portions of a state change operation on the
// DownloadItem.
- virtual void DownloadOpened(DownloadItemImpl* download);
virtual void DownloadRemoved(DownloadItemImpl* download);
// Show the download in the browser.

Powered by Google App Engine
This is Rietveld 408576698