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

Unified Diff: content/browser/tab_contents/tab_contents.h

Issue 7374008: Move download stuff from download helper back to TabContents. This is basically a revert of r8576... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix unittests Created 9 years, 5 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/browser/download/save_package.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents.h
===================================================================
--- content/browser/tab_contents/tab_contents.h (revision 92629)
+++ content/browser/tab_contents/tab_contents.h (working copy)
@@ -37,6 +37,7 @@
class Rect;
}
+class DownloadItem;
class Extension;
class LoadNotificationDetails;
class Profile;
@@ -342,6 +343,13 @@
// Toolbars and such ---------------------------------------------------------
+ // Notifies the delegate that a download is about to be started.
+ // This notification is fired before a local temporary file has been created.
+ bool CanDownload(int request_id);
+
+ // Notifies the delegate that a download started.
+ void OnStartDownload(DownloadItem* download);
+
// Called when a ConstrainedWindow we own is about to be closed.
void WillClose(ConstrainedWindow* window);
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698