Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h

Issue 12550006: Mac: Add a shortcut to open the Apps page from the bookmark bar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Answered asvitkine, added preference listener. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..a29ff238a796da36266cbfc6456ad226e747249c 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;

Powered by Google App Engine
This is Rietveld 408576698