Index: chrome/browser/ui/views/download/download_shelf_view.h |
=================================================================== |
--- chrome/browser/ui/views/download/download_shelf_view.h (revision 138377) |
+++ chrome/browser/ui/views/download/download_shelf_view.h (working copy) |
@@ -22,6 +22,10 @@ |
class BrowserView; |
class DownloadItemView; |
+namespace content { |
+class PageNavigator; |
+} |
+ |
namespace ui { |
class SlideAnimation; |
} |
@@ -49,6 +53,10 @@ |
// Sent from the DownloadItemView when the user opens an item. |
void OpenedDownload(DownloadItemView* view); |
+ // Returns the relevant containing object that can load pages. |
+ // i.e. the |browser_|. |
+ content::PageNavigator* GetNavigator(); |
+ |
// Implementation of View. |
virtual gfx::Size GetPreferredSize() OVERRIDE; |
virtual void Layout() OVERRIDE; |