diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 20:43:06 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 20:43:06 +0000 |
commit | e798e192afce58d16bb369567e9ade74f396649b (patch) | |
tree | 7528a9f03d58f34b5dd4203d5ede0ed5d9d19675 /chrome/browser/cocoa/download_shelf_controller.h | |
parent | c2d4449362cb38bfe492d7655885c4c5b3944139 (diff) | |
download | chromium_src-e798e192afce58d16bb369567e9ade74f396649b.zip chromium_src-e798e192afce58d16bb369567e9ade74f396649b.tar.gz chromium_src-e798e192afce58d16bb369567e9ade74f396649b.tar.bz2 |
Use delegate protocols present in the 10.6 SDK. For previous SDKs, provide
empty protocol definitions for compatibility.
BUG=20925
TEST=build
Review URL: http://codereview.chromium.org/209004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/download_shelf_controller.h')
-rw-r--r-- | chrome/browser/cocoa/download_shelf_controller.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/download_shelf_controller.h b/chrome/browser/cocoa/download_shelf_controller.h index 11092b9..d310f7f 100644 --- a/chrome/browser/cocoa/download_shelf_controller.h +++ b/chrome/browser/cocoa/download_shelf_controller.h @@ -4,6 +4,7 @@ #import <Cocoa/Cocoa.h> +#import "base/cocoa_protocols_mac.h" #include "base/scoped_nsobject.h" #include "base/scoped_ptr.h" #import "chrome/browser/cocoa/view_resizer.h" @@ -32,7 +33,7 @@ class DownloadShelf; // UI of an item itself is represented by a button that is drawn by // download_item_cell. -@interface DownloadShelfController : NSViewController { +@interface DownloadShelfController : NSViewController<NSTextViewDelegate> { @private IBOutlet NSScrollView* linkContainer_; IBOutlet NSTextView* showAllDownloadsLink_; |