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

Unified Diff: content/shell/shell_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/notification_types.h ('k') | content/shell/shell_download_manager_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_download_manager_delegate.h
===================================================================
--- content/shell/shell_download_manager_delegate.h (revision 116331)
+++ content/shell/shell_download_manager_delegate.h (working copy)
@@ -26,12 +26,12 @@
virtual void Shutdown() OVERRIDE;
virtual bool ShouldStartDownload(int32 download_id) OVERRIDE;
- virtual void ChooseDownloadPath(TabContents* tab_contents,
+ virtual void ChooseDownloadPath(WebContents* web_contents,
const FilePath& suggested_path,
void* data) OVERRIDE;
virtual bool OverrideIntermediatePath(DownloadItem* item,
FilePath* intermediate_path) OVERRIDE;
- virtual WebContents* GetAlternativeTabContentsToNotifyForDownload() OVERRIDE;
+ virtual WebContents* GetAlternativeWebContentsToNotifyForDownload() OVERRIDE;
virtual bool ShouldOpenFileBasedOnExtension(const FilePath& path) OVERRIDE;
virtual bool ShouldCompleteDownload(DownloadItem* item) OVERRIDE;
virtual bool ShouldOpenDownload(DownloadItem* item) OVERRIDE;
@@ -46,7 +46,7 @@
virtual void RemoveItemsFromPersistentStoreBetween(
base::Time remove_begin,
base::Time remove_end) OVERRIDE;
- virtual void GetSaveDir(TabContents* tab_contents,
+ virtual void GetSaveDir(WebContents* web_contents,
FilePath* website_save_dir,
FilePath* download_save_dir) OVERRIDE;
virtual void ChooseSavePath(const base::WeakPtr<SavePackage>& save_package,
« no previous file with comments | « content/public/browser/notification_types.h ('k') | content/shell/shell_download_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698