Index: chrome/browser/ui/gtk/download/download_shelf_gtk.cc |
=================================================================== |
--- chrome/browser/ui/gtk/download/download_shelf_gtk.cc (revision 138377) |
+++ chrome/browser/ui/gtk/download/download_shelf_gtk.cc (working copy) |
@@ -20,6 +20,7 @@ |
#include "chrome/common/chrome_notification_types.h" |
#include "content/public/browser/download_item.h" |
#include "content/public/browser/notification_source.h" |
+#include "content/public/browser/page_navigator.h" |
#include "grit/generated_resources.h" |
#include "grit/theme_resources.h" |
#include "grit/theme_resources_standard.h" |
@@ -173,6 +174,10 @@ |
SetCloseOnMouseOut(false); |
} |
+content::PageNavigator* DownloadShelfGtk::GetNavigator() { |
+ return browser_; |
+} |
+ |
void DownloadShelfGtk::DoAddDownload(BaseDownloadItemModel* download_model) { |
download_items_.push_back(new DownloadItemGtk(this, download_model)); |
} |