Index: content/browser/tab_contents/tab_contents_delegate.h |
=================================================================== |
--- content/browser/tab_contents/tab_contents_delegate.h (revision 85514) |
+++ content/browser/tab_contents/tab_contents_delegate.h (working copy) |
@@ -26,6 +26,7 @@ |
} |
struct ContextMenuParams; |
+class DownloadItem; |
class GURL; |
class HtmlDialogUIDelegate; |
struct NativeWebKeyboardEvent; |
@@ -201,6 +202,10 @@ |
// This is used to make painting look smoother. |
virtual int GetExtraRenderViewHeight() const; |
+ virtual bool CanDownload(int request_id); |
+ |
+ virtual void OnStartDownload(DownloadItem* download, TabContents* tab); |
+ |
// Returns true if the context menu operation was handled by the delegate. |
virtual bool HandleContextMenu(const ContextMenuParams& params); |