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

Unified Diff: content/browser/tab_contents/tab_contents_delegate.cc

Issue 7035015: Revert 85504 - Move download stuff to download tab helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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/tab_contents/tab_contents_delegate.cc
===================================================================
--- content/browser/tab_contents/tab_contents_delegate.cc (revision 85514)
+++ content/browser/tab_contents/tab_contents_delegate.cc (working copy)
@@ -93,6 +93,14 @@
return 0;
}
+bool TabContentsDelegate::CanDownload(int request_id) {
+ return true;
+}
+
+void TabContentsDelegate::OnStartDownload(DownloadItem* download,
+ TabContents* tab) {
+}
+
bool TabContentsDelegate::HandleContextMenu(const ContextMenuParams& params) {
return false;
}
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.h ('k') | content/browser/tab_contents/tab_contents_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698