Index: chrome/browser/external_tab_container_win.h |
=================================================================== |
--- chrome/browser/external_tab_container_win.h (revision 85514) |
+++ chrome/browser/external_tab_container_win.h (working copy) |
@@ -14,7 +14,6 @@ |
#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/automation/automation_resource_message_filter.h" |
#include "chrome/browser/net/chrome_url_request_context.h" |
-#include "chrome/browser/ui/download/download_tab_helper_delegate.h" |
#include "chrome/browser/ui/views/frame/browser_bubble_host.h" |
#include "chrome/browser/ui/views/infobars/infobar_container.h" |
#include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h" |
@@ -42,7 +41,6 @@ |
// external process. This class provides the FocusManger needed by the |
// TabContents as well as an implementation of TabContentsDelegate. |
class ExternalTabContainer : public TabContentsDelegate, |
- public DownloadTabHelperDelegate, |
public NotificationObserver, |
public views::WidgetWin, |
public base::RefCounted<ExternalTabContainer>, |
@@ -144,6 +142,8 @@ |
virtual bool TakeFocus(bool reverse); |
+ virtual bool CanDownload(int request_id); |
+ |
virtual bool OnGoToEntryOffset(int offset); |
virtual void ShowPageInfo(Profile* profile, |
@@ -173,11 +173,6 @@ |
const NotificationSource& source, |
const NotificationDetails& details); |
- // Overridden from DownloadTabHelperDelegate: |
- virtual bool CanDownload(int request_id) OVERRIDE; |
- virtual void OnStartDownload(DownloadItem* download, |
- TabContentsWrapper* tab) OVERRIDE; |
- |
// Returns the ExternalTabContainer instance associated with the cookie |
// passed in. It also erases the corresponding reference from the map. |
// Returns NULL if we fail to find the cookie in the map. |