Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Unified Diff: chrome/browser/ui/cocoa/download/download_shelf_controller.h

Issue 10421021: Make DownloadProtectionService not use BrowserList::GetLastActive() to load a link. Instead pass th… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/download/download_shelf_controller.h
===================================================================
--- chrome/browser/ui/cocoa/download/download_shelf_controller.h (revision 138377)
+++ chrome/browser/ui/cocoa/download/download_shelf_controller.h (working copy)
@@ -19,6 +19,10 @@
@class HyperlinkButtonCell;
@class HoverButton;
+namespace content {
+class PageNavigator;
+}
+
// A controller class that manages the download shelf for one window. It is
// responsible for the behavior of the shelf itself (showing/hiding, handling
// the link, layout) as well as for managing the download items it contains.
@@ -66,6 +70,9 @@
// Delegate that handles resizing our view.
id<ViewResizer> resizeDelegate_;
+
+ // Used for loading pages.
+ content::PageNavigator* navigator_;
};
- (id)initWithBrowser:(Browser*)browser

Powered by Google App Engine
This is Rietveld 408576698