summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_delegate.h')
-rw-r--r--chrome/browser/tab_contents/tab_contents_delegate.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h
index 465877f..da5bd60 100644
--- a/chrome/browser/tab_contents/tab_contents_delegate.h
+++ b/chrome/browser/tab_contents/tab_contents_delegate.h
@@ -11,6 +11,7 @@
#include "chrome/common/page_transition_types.h"
#include "webkit/glue/window_open_disposition.h"
+class DownloadItem;
class ExtensionFunctionDispatcher;
class RenderViewHost;
class TabContents;
@@ -89,9 +90,6 @@ class TabContentsDelegate {
// Notification that the target URL has changed
virtual void UpdateTargetURL(TabContents* source, const GURL& url) = 0;
- // Notification that the download shelf visibility state has been toggled.
- virtual void UpdateDownloadShelfVisibility(bool visible) { }
-
// Notification that there was a mouse event
virtual void ContentsMouseEvent(TabContents* source, bool motion) { }
@@ -178,6 +176,9 @@ class TabContentsDelegate {
return 0;
}
+ virtual void OnStartDownload(DownloadItem* download) {
+ }
+
protected:
~TabContentsDelegate() {}