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

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

Issue 6973035: Move download stuff to download tab helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment tweak 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.h
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index 6f12443594dcfded0fdd22f33b9527653c3b985b..0c125773c942c24f480ec649b7a18fda132f7f49 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -44,13 +44,12 @@ namespace history {
class HistoryAddPageArgs;
}
-class WebUI;
-class DownloadItem;
class Extension;
class InfoBarDelegate;
class LoadNotificationDetails;
class PluginObserver;
class Profile;
+struct RendererPreferences;
class RenderViewHost;
class SessionStorageNamespace;
class SiteInstance;
@@ -60,11 +59,11 @@ class TabContentsObserver;
class TabContentsSSLHelper;
class TabContentsView;
class TabSpecificContentSettings;
-class URLPattern;
-struct RendererPreferences;
struct ThumbnailScore;
+class URLPattern;
struct ViewHostMsg_FrameNavigate_Params;
struct WebPreferences;
+class WebUI;
// Describes what goes in the main content area of a tab. TabContents is
// the only type of TabContents, and these should be merged together.
@@ -390,13 +389,6 @@ class TabContents : public PageNavigator,
// Returns true if a Bookmark Bar should be shown for this tab.
virtual bool ShouldShowBookmarkBar();
- // 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);

Powered by Google App Engine
This is Rietveld 408576698