| Index: chrome/browser/cocoa/location_bar/location_bar_view_mac.mm
|
| diff --git a/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm
|
| index d8b8b80e0bd16ce7a9422cc3c1e5d2da416e4fa1..8863841846fd12c9f007d4d40edf3caccfdd8699 100644
|
| --- a/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm
|
| +++ b/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm
|
| @@ -409,6 +409,14 @@ NSPoint LocationBarViewMac::GetBookmarkBubblePoint() const {
|
| return [field_ convertPoint:point toView:nil];
|
| }
|
|
|
| +NSPoint LocationBarViewMac::GetPageInfoBubblePoint() const {
|
| + AutocompleteTextFieldCell* cell = [field_ cell];
|
| + const NSRect frame = [cell frameForDecoration:location_icon_decoration_.get()
|
| + inFrame:[field_ bounds]];
|
| + const NSPoint point = location_icon_decoration_->GetBubblePointInFrame(frame);
|
| + return [field_ convertPoint:point toView:nil];
|
| +}
|
| +
|
| NSImage* LocationBarViewMac::GetKeywordImage(const std::wstring& keyword) {
|
| const TemplateURL* template_url =
|
| profile_->GetTemplateURLModel()->GetTemplateURLForKeyword(keyword);
|
|
|