summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/infobar_controller.h
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-30 17:03:13 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-30 17:03:13 +0000
commit25d5de94ce6ad3ab5b9a5ffd7bdcb36856a41499 (patch)
tree5e61c51280bac46bc33c5f0bb8ce6894279ae02d /chrome/browser/cocoa/infobar_controller.h
parent8f55ae94da321ed4ea89e2f669d0a0f0fac1edbe (diff)
downloadchromium_src-25d5de94ce6ad3ab5b9a5ffd7bdcb36856a41499.zip
chromium_src-25d5de94ce6ad3ab5b9a5ffd7bdcb36856a41499.tar.gz
chromium_src-25d5de94ce6ad3ab5b9a5ffd7bdcb36856a41499.tar.bz2
InfoBarController needs to be an NSTextViewDelegate after r42985.
BUG=none TEST=10.6 SDK build Review URL: http://codereview.chromium.org/1552004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43091 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/infobar_controller.h')
-rw-r--r--chrome/browser/cocoa/infobar_controller.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/infobar_controller.h b/chrome/browser/cocoa/infobar_controller.h
index d3bf003..ef2891e 100644
--- a/chrome/browser/cocoa/infobar_controller.h
+++ b/chrome/browser/cocoa/infobar_controller.h
@@ -4,6 +4,7 @@
#import <Cocoa/Cocoa.h>
+#import "base/cocoa_protocols_mac.h"
#include "base/scoped_nsobject.h"
@class AnimatableView;
@@ -16,7 +17,7 @@ class InfoBarDelegate;
// controller per infobar view. The base InfoBarController is able to
// draw an icon, a text message, and a close button. Subclasses can
// override addAdditionalControls to customize the UI.
-@interface InfoBarController : NSViewController {
+@interface InfoBarController : NSViewController<NSTextViewDelegate> {
@private
id<InfoBarContainer> containerController_; // weak, owns us
BOOL infoBarClosing_;