| Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| index db3deadfa561678f2e6e5901f17dc3e91007407e..34466bebf20393fada096716d7317829d8a74ec9 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| @@ -77,10 +77,6 @@
|
|
|
| namespace {
|
|
|
| -// Vertical space between the bottom edge of the location_bar and the first run
|
| -// bubble arrow point.
|
| -const static int kFirstRunBubbleYOffset = 1;
|
| -
|
| const int kDefaultIconSize = 16;
|
|
|
| // The minimum width the URL should have for the verbose state to be shown.
|
| @@ -656,9 +652,13 @@ new ManagePasswordsDecoration(command_updater, this)),
|
| if (!field_ || ![field_ window])
|
| return;
|
|
|
| - // Point the bubble's arrow at the middle of the bottom of the page info icon.
|
| - const NSPoint kOffset =
|
| - NSMakePoint(info_bubble::kBubbleArrowXOffset, kFirstRunBubbleYOffset);
|
| + // Point the bubble's arrow at the middle of the page info icon. The x offset
|
| + // isn't the exact center, but this behavior matches other platforms and it
|
| + // looks better in practice since the arrow ends up between the handle and
|
| + // lens of the magnifying glass.
|
| + const NSPoint kOffset = NSMakePoint(
|
| + info_bubble::kBubbleArrowXOffset,
|
| + NSHeight([field_ frame]) / 2.0 - info_bubble::kBubbleArrowHeight);
|
| [FirstRunBubbleController showForView:field_
|
| offset:kOffset
|
| browser:browser_
|
|
|