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

Unified Diff: content/shell/shell_download_manager_delegate.cc

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/shell/shell_download_manager_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_download_manager_delegate.cc
===================================================================
--- content/shell/shell_download_manager_delegate.cc (revision 116331)
+++ content/shell/shell_download_manager_delegate.cc (working copy)
@@ -100,7 +100,7 @@
}
void ShellDownloadManagerDelegate::ChooseDownloadPath(
- TabContents* tab_contents,
+ WebContents* web_contents,
const FilePath& suggested_path,
void* data) {
FilePath result;
@@ -111,7 +111,7 @@
OPENFILENAME save_as;
ZeroMemory(&save_as, sizeof(save_as));
save_as.lStructSize = sizeof(OPENFILENAME);
- save_as.hwndOwner = tab_contents->GetNativeView();
+ save_as.hwndOwner = web_contents->GetNativeView();
save_as.lpstrFile = file_name;
save_as.nMaxFile = arraysize(file_name);
@@ -143,7 +143,7 @@
}
WebContents* ShellDownloadManagerDelegate::
- GetAlternativeTabContentsToNotifyForDownload() {
+ GetAlternativeWebContentsToNotifyForDownload() {
return NULL;
}
@@ -190,7 +190,7 @@
}
void ShellDownloadManagerDelegate::GetSaveDir(
- TabContents* tab_contents,
+ WebContents* web_contents,
FilePath* website_save_dir,
FilePath* download_save_dir) {
}
« no previous file with comments | « content/shell/shell_download_manager_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698