Index: content/browser/tab_contents/tab_contents_delegate.h |
=================================================================== |
--- content/browser/tab_contents/tab_contents_delegate.h (revision 92629) |
+++ content/browser/tab_contents/tab_contents_delegate.h (working copy) |
@@ -31,6 +31,7 @@ |
} |
struct ContextMenuParams; |
+class DownloadItem; |
class GURL; |
class HtmlDialogUIDelegate; |
struct NativeWebKeyboardEvent; |
@@ -190,6 +191,10 @@ |
// Notification that |tab_contents| has gained focus. |
virtual void TabContentsFocused(TabContents* tab_content); |
+ virtual bool CanDownload(int request_id); |
+ |
+ virtual void OnStartDownload(DownloadItem* download, TabContents* tab); |
+ |
// Return much extra vertical space should be allotted to the |
// render view widget during various animations (e.g. infobar closing). |
// This is used to make painting look smoother. |