| Index: chrome/browser/cocoa/content_setting_bubble_cocoa.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/content_setting_bubble_cocoa.mm (revision 59533)
|
| +++ chrome/browser/cocoa/content_setting_bubble_cocoa.mm (working copy)
|
| @@ -436,18 +436,6 @@
|
| [[self window] setFrame:frame display:NO];
|
| }
|
|
|
| -- (void)removeInfoButton {
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableCookiePrompt)) {
|
| - // Remove info button and resize vertically.
|
| - int deltaY = NSHeight([infoButton_ frame]);
|
| - [infoButton_ removeFromSuperview];
|
| - NSRect frame = [[self window] frame];
|
| - frame.size.height -= deltaY;
|
| - [[self window] setFrame:frame display:NO];
|
| - }
|
| -}
|
| -
|
| - (void)awakeFromNib {
|
| [[self bubble] setBubbleType:info_bubble::kWhiteInfoBubble];
|
| [[self bubble] setArrowLocation:info_bubble::kTopRight];
|
| @@ -462,8 +450,6 @@
|
| [self sizeToFitLoadPluginsButton];
|
| [self initializeBlockedPluginsList];
|
| }
|
| - if (type == CONTENT_SETTINGS_TYPE_COOKIES)
|
| - [self removeInfoButton];
|
| if (allowBlockRadioGroup_) // not bound in cookie bubble xib
|
| [self initializeRadioGroup];
|
|
|
|
|