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

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

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 12 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
« no previous file with comments | « content/public/browser/devtools_manager.h ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_manager_delegate.h
===================================================================
--- content/public/browser/download_manager_delegate.h (revision 116331)
+++ content/public/browser/download_manager_delegate.h (working copy)
@@ -11,7 +11,6 @@
#include "base/time.h"
class FilePath;
-class TabContents;
class SavePackage;
namespace content {
@@ -35,7 +34,7 @@
// Asks the user for the path for a download. The delegate calls
// DownloadManager::FileSelected or DownloadManager::FileSelectionCanceled to
// give the answer.
- virtual void ChooseDownloadPath(TabContents* tab_contents,
+ virtual void ChooseDownloadPath(WebContents* web_contents,
const FilePath& suggested_path,
void* data) = 0;
@@ -45,10 +44,10 @@
virtual bool OverrideIntermediatePath(DownloadItem* item,
FilePath* intermediate_path) = 0;
- // Called when the download system wants to alert a TabContents that a
+ // Called when the download system wants to alert a WebContents that a
// download has started, but the TabConetnts has gone away. This lets an
- // delegate return an alternative TabContents. The delegate can return NULL.
- virtual WebContents* GetAlternativeTabContentsToNotifyForDownload() = 0;
+ // delegate return an alternative WebContents. The delegate can return NULL.
+ virtual WebContents* GetAlternativeWebContentsToNotifyForDownload() = 0;
// Tests if a file type should be opened automatically.
virtual bool ShouldOpenFileBasedOnExtension(const FilePath& path) = 0;
@@ -103,7 +102,7 @@
base::Time remove_end) = 0;
// Retrieve the directories to save html pages and downloads to.
- virtual void GetSaveDir(TabContents* tab_contents,
+ virtual void GetSaveDir(WebContents* web_contents,
FilePath* website_save_dir,
FilePath* download_save_dir) = 0;
« no previous file with comments | « content/public/browser/devtools_manager.h ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698