diff options
Diffstat (limited to 'chrome/browser/cocoa/autocomplete_text_field_cell.h')
-rw-r--r-- | chrome/browser/cocoa/autocomplete_text_field_cell.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/autocomplete_text_field_cell.h b/chrome/browser/cocoa/autocomplete_text_field_cell.h index a57a2ad..b92692c 100644 --- a/chrome/browser/cocoa/autocomplete_text_field_cell.h +++ b/chrome/browser/cocoa/autocomplete_text_field_cell.h @@ -113,6 +113,11 @@ class ExtensionAction; // page actions. Use |-layedOutIcons:| instead in that case. - (NSRect)pageActionFrameForIndex:(size_t)index inFrame:(NSRect)cellFrame; +// Similar to |pageActionFrameForIndex:inFrame| but accepts an +// ExtensionAction for when the index is not known. +- (NSRect)pageActionFrameForExtensionAction:(ExtensionAction*)action + inFrame:(NSRect)cellFrame; + // Find the icon under the event. |nil| if |theEvent| is not over // anything. - (AutocompleteTextFieldIcon*)iconForEvent:(NSEvent*)theEvent |