| Index: chrome/browser/ui/cocoa/download/download_shelf_controller.h
|
| diff --git a/chrome/browser/ui/cocoa/download/download_shelf_controller.h b/chrome/browser/ui/cocoa/download/download_shelf_controller.h
|
| index c264571b6f8b94217f042a1f89b43164b281ed6a..13e2a710371ff1d7d3f1bd80e752886c6c68b4b7 100644
|
| --- a/chrome/browser/ui/cocoa/download/download_shelf_controller.h
|
| +++ b/chrome/browser/ui/cocoa/download/download_shelf_controller.h
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#import "chrome/browser/ui/cocoa/has_weak_browser_pointer.h"
|
| #import "chrome/browser/ui/cocoa/view_resizer.h"
|
| #include "ui/base/cocoa/tracking_area.h"
|
|
|
| @@ -40,7 +41,8 @@ class PageNavigator;
|
| // UI of an item itself is represented by a button that is drawn by
|
| // download_item_cell.
|
|
|
| -@interface DownloadShelfController : NSViewController<NSTextViewDelegate> {
|
| +@interface DownloadShelfController
|
| + : NSViewController<NSTextViewDelegate, HasWeakBrowserPointer> {
|
| @private
|
| IBOutlet HoverButton* hoverCloseButton_;
|
|
|
| @@ -120,10 +122,6 @@ class PageNavigator;
|
| // Called by individual item controllers when their downloads are opened.
|
| - (void)downloadWasOpened:(DownloadItemController*)download;
|
|
|
| -// Notification that the download shelf is going to be destroyed and should
|
| -// release the downloads.
|
| -- (void)exiting;
|
| -
|
| // Return the height of the download shelf.
|
| - (float)height;
|
|
|
|
|