summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_shelf_controller.h
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 20:43:06 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 20:43:06 +0000
commite798e192afce58d16bb369567e9ade74f396649b (patch)
tree7528a9f03d58f34b5dd4203d5ede0ed5d9d19675 /chrome/browser/cocoa/download_shelf_controller.h
parentc2d4449362cb38bfe492d7655885c4c5b3944139 (diff)
downloadchromium_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.h3
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_;