diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-26 16:25:15 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-26 16:25:15 +0000 |
commit | 425f5ab811e965b212603d1500849072eb1f76f8 (patch) | |
tree | 134084080295bca1b8ddc995655738db79ca0da1 /chrome/browser/cocoa | |
parent | 037d26f44d91aa40ef42dd679aeda7a4eee67c57 (diff) | |
download | chromium_src-425f5ab811e965b212603d1500849072eb1f76f8.zip chromium_src-425f5ab811e965b212603d1500849072eb1f76f8.tar.gz chromium_src-425f5ab811e965b212603d1500849072eb1f76f8.tar.bz2 |
Declare TranslateInfobarController as implementing NSMenuDelegate, required
for the 10.6 SDK build after r45553.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1733018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r-- | chrome/browser/cocoa/translate_infobar.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/translate_infobar.h b/chrome/browser/cocoa/translate_infobar.h index 29536c8..b047d5d 100644 --- a/chrome/browser/cocoa/translate_infobar.h +++ b/chrome/browser/cocoa/translate_infobar.h @@ -5,7 +5,8 @@ #import <Cocoa/Cocoa.h> #import "chrome/browser/cocoa/infobar_controller.h" -#include "base/scoped_nsobject.h" +#import "base/cocoa_protocols_mac.h" +#import "base/scoped_nsobject.h" #include "base/scoped_ptr.h" #include "chrome/browser/translate/languages_menu_model.h" #include "chrome/browser/translate/options_menu_model.h" @@ -32,7 +33,7 @@ class TranslateNotificationObserverBridge; // The GUI uses popup menus interspersed in a text label. For localization // purposes this means we potentially need 3 labels to display the UI (the 3rd // is only visible in certain locales). -@interface TranslateInfoBarController : InfoBarController { +@interface TranslateInfoBarController : InfoBarController<NSMenuDelegate> { @protected // Infobar keeps track of the state it is displaying, which should match that // in the TranslateInfoBarDelegate. UI needs to keep track separately because |