diff options
Diffstat (limited to 'chrome/browser/cocoa/autocomplete_text_field_cell.mm')
-rw-r--r-- | chrome/browser/cocoa/autocomplete_text_field_cell.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/autocomplete_text_field_cell.mm b/chrome/browser/cocoa/autocomplete_text_field_cell.mm index 9df998b..8f54193 100644 --- a/chrome/browser/cocoa/autocomplete_text_field_cell.mm +++ b/chrome/browser/cocoa/autocomplete_text_field_cell.mm @@ -342,6 +342,10 @@ CGFloat WidthForKeyword(NSAttributedString* keywordString) { return page_action_views_->ViewAt(index)->GetToolTip(); } +- (ExtensionAction*)pageActionForIndex:(size_t)index { + return page_action_views_->ViewAt(index)->page_action(); +} + - (void)drawHintWithFrame:(NSRect)cellFrame inView:(NSView*)controlView { DCHECK(hintString_); |