Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use WebContents instead of TabContents.
BUG=98716
Review URL: http://codereview.chromium.org/9030032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116392 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc
index c7933c5..4587e45 100644
--- a/content/browser/download/download_manager_impl.cc
+++ b/content/browser/download/download_manager_impl.cc
@@ -312,7 +312,7 @@
if (download->PromptUserForSaveLocation()) {
// We must ask the user for the place to put the download.
- TabContents* contents = download->GetTabContents();
+ WebContents* contents = download->GetTabContents();
// |id_ptr| will be deleted in either FileSelected() or
// FileSelectionCancelled().
@@ -994,7 +994,7 @@
// If the contents no longer exists, we ask the embedder to suggest another
// tab.
if (!content)
- content = delegate_->GetAlternativeTabContentsToNotifyForDownload();
+ content = delegate_->GetAlternativeWebContentsToNotifyForDownload();
if (content && content->GetDelegate())
content->GetDelegate()->OnStartDownload(content, download);