| Index: chrome/browser/ui/cocoa/page_info/page_info_utils_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/page_info/website_settings_utils_cocoa.mm b/chrome/browser/ui/cocoa/page_info/page_info_utils_cocoa.mm
|
| similarity index 79%
|
| rename from chrome/browser/ui/cocoa/page_info/website_settings_utils_cocoa.mm
|
| rename to chrome/browser/ui/cocoa/page_info/page_info_utils_cocoa.mm
|
| index f0c57c7e458b9b617fb4e8451e3d1aebbf649d71..1dbf9567ea63b7a79785ebfc7966d9a3013d7d4f 100644
|
| --- a/chrome/browser/ui/cocoa/page_info/website_settings_utils_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/page_info/page_info_utils_cocoa.mm
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/ui/cocoa/page_info/website_settings_utils_cocoa.h"
|
| +#include "chrome/browser/ui/cocoa/page_info/page_info_utils_cocoa.h"
|
|
|
| namespace {
|
| // The amount of horizontal space between the button's title and its arrow icon.
|
| @@ -10,8 +10,7 @@ const CGFloat kButtonTitleRightPadding = 4.0f;
|
| }
|
|
|
| // Determine the size of a popup button with the given title.
|
| -NSSize SizeForWebsiteSettingsButtonTitle(NSPopUpButton* button,
|
| - NSString* title) {
|
| +NSSize SizeForPageInfoButtonTitle(NSPopUpButton* button, NSString* title) {
|
| NSDictionary* textAttributes =
|
| [[button attributedTitle] attributesAtIndex:0 effectiveRange:NULL];
|
| NSSize titleSize = [title sizeWithAttributes:textAttributes];
|
|
|