Index: chrome/browser/cocoa/autocomplete_text_field_cell.h |
diff --git a/chrome/browser/cocoa/autocomplete_text_field_cell.h b/chrome/browser/cocoa/autocomplete_text_field_cell.h |
index b92692c1e15fd9c514e4796647ded9df3b127e05..080e580656e737c163bcfbe93a05f06f0f781784 100644 |
--- a/chrome/browser/cocoa/autocomplete_text_field_cell.h |
+++ b/chrome/browser/cocoa/autocomplete_text_field_cell.h |
@@ -64,6 +64,10 @@ class ExtensionAction; |
// |keywordString_| overrides. |
LocationBarViewMac::LocationIconView* locationIconView_; |
+ // The star icon sits at the right-hand side of the field when an |
+ // URL is being shown. |
+ LocationBarViewMac::LocationBarImageView* starIconView_; |
+ |
// The security label floats to the left of page actions at the |
// right-hand side. |
LocationBarViewMac::LocationBarImageView* securityLabelView_; |
@@ -97,6 +101,7 @@ class ExtensionAction; |
- (void)clearKeywordAndHint; |
- (void)setLocationIconView:(LocationBarViewMac::LocationIconView*)view; |
+- (void)setStarIconView:(LocationBarViewMac::LocationBarImageView*)view; |
- (void)setSecurityLabelView:(LocationBarViewMac::LocationBarImageView*)view; |
- (void)setPageActionViewList:(LocationBarViewMac::PageActionViewList*)list; |
- (void)setContentSettingViewsList: |
@@ -106,6 +111,10 @@ class ExtensionAction; |
// only visible icons. |
- (NSArray*)layedOutIcons:(NSRect)cellFrame; |
+// Return the rectangle the star is being shown in, for purposes of |
+// positioning the bookmark bubble. |
+- (NSRect)starIconFrameForFrame:(NSRect)cellFrame; |
+ |
// Returns the portion of the cell to use for displaying the Page |
// Action icon at the given index. May be NSZeroRect if the index's |
// action is not visible. This does a linear walk over all page |