Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h |
index 01e16ccfa4abade2768c6a894a408223ee78e8f3..dc5e1ac71e3e88d623a5fa7c9fad719380668a09 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h |
@@ -226,6 +226,9 @@ willAnimateFromState:(BookmarkBar::State)oldState |
// "Other bookmarks" button on the right side. |
scoped_nsobject<BookmarkButton> otherBookmarksButton_; |
+ // "Apps" button to the right of "Other bookmarks". |
+ scoped_nsobject<BookmarkButton> appsPageShortcutButton_; |
+ |
// We have a special menu for folder buttons. This starts as a copy |
// of the bar menu. |
scoped_nsobject<BookmarkMenu> buttonFolderContextMenu_; |
@@ -296,6 +299,9 @@ willAnimateFromState:(BookmarkBar::State)oldState |
// Update the visible state of the bookmark bar. |
- (void)updateVisibility; |
+// Update the visible state of the bookmark bar. |
+- (void)updateAppsPageShortcutButtonVisibility; |
+ |
// Hides or shows the bookmark bar depending on the current state. |
- (void)updateHiddenState; |
@@ -399,6 +405,8 @@ willAnimateFromState:(BookmarkBar::State)oldState |
- (void)openURL:(GURL)url disposition:(WindowOpenDisposition)disposition; |
- (void)clearBookmarkBar; |
- (BookmarkButtonCell*)cellForBookmarkNode:(const BookmarkNode*)node; |
+- (BookmarkButtonCell*)cellForCustomButton:(NSString*)text |
+ withImage:(NSImage*)image; |
- (NSRect)frameForBookmarkButtonFromCell:(NSCell*)cell xOffset:(int*)xOffset; |
- (void)checkForBookmarkButtonGrowth:(NSButton*)button; |
- (void)frameDidChange; |