Index: chrome/browser/ui/cocoa/location_bar/star_decoration.h |
diff --git a/chrome/browser/ui/cocoa/location_bar/star_decoration.h b/chrome/browser/ui/cocoa/location_bar/star_decoration.h |
index ff75448211d68e115f3d638d1d565291e42945f9..6ec7d0d6f289fe5f400f5e16ad7dccfa598c6fab 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/star_decoration.h |
+++ b/chrome/browser/ui/cocoa/location_bar/star_decoration.h |
@@ -21,6 +21,9 @@ class StarDecoration : public ImageDecoration { |
// Sets the image and tooltip based on |starred|. |
void SetStarred(bool starred); |
+ // Returns true if the star is lit. |
+ bool starred() const { return starred_; } |
+ |
// Get the point where the bookmark bubble should point within the |
// decoration's frame. |
NSPoint GetBubblePointInFrame(NSRect frame); |
@@ -37,6 +40,9 @@ class StarDecoration : public ImageDecoration { |
// The string to show for a tooltip. |
scoped_nsobject<NSString> tooltip_; |
+ // Whether the star icon is lit. |
+ bool starred_; |
+ |
DISALLOW_COPY_AND_ASSIGN(StarDecoration); |
}; |