| Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| index 2c8fccc088d407b1c164191509dfdfe6eca64409..9a0c310870fbcac8414336faffbe60704857fc02 100644
|
| --- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| @@ -175,7 +175,6 @@ private:
|
| - (void)updateCommonTitlePrefix;
|
| - (BOOL)shouldShowProfileMenuButton;
|
| - (void)updateProfileMenuButton;
|
| -- (void)createNewProfile:(id)sender;
|
| @end
|
|
|
| // A simple view class that prevents the Window Server from dragging the area
|
| @@ -2177,23 +2176,6 @@ class NotificationBridge : public NotificationObserver {
|
| [profileMenuButton_ setProfileDisplayName:
|
| [NSString stringWithUTF8String:profileName.c_str()]];
|
| [profileMenuButton_ setHidden:NO];
|
| -
|
| - NSMenu* menu = [profileMenuButton_ menu];
|
| - while ([menu numberOfItems] > 0) {
|
| - [menu removeItemAtIndex:0];
|
| - }
|
| -
|
| - NSString* menuTitle =
|
| - l10n_util::GetNSStringWithFixup(IDS_PROFILES_CREATE_NEW_PROFILE_OPTION);
|
| - NSMenuItem* menuItem = [menu addItemWithTitle:menuTitle
|
| - action:@selector(createNewProfile:)
|
| - keyEquivalent:@""];
|
| - [menuItem setState:NSOffState];
|
| - [menuItem setTarget:self];
|
| -}
|
| -
|
| -- (void)createNewProfile:(id)sender {
|
| - ProfileManager::CreateMultiProfileAsync();
|
| }
|
|
|
| @end
|
|
|