| 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 ec6646f920dee41db14014af1b79aabb068b7c55..a75f6b3d5c0a738c6ec33cadceda4d7fa34d827d 100644
|
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
|
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
|
| @@ -48,16 +48,16 @@
|
| const CGFloat kDefaultBookmarkWidth = 150.0;
|
|
|
| // Horizontal frame inset for buttons in the bookmark bar.
|
| -CGFloat BookmarkHorizontalPadding();
|
| +const CGFloat kBookmarkHorizontalPadding = 1.0;
|
|
|
| // Vertical frame inset for buttons in the bookmark bar.
|
| -CGFloat BookmarkVerticalPadding();
|
| +const CGFloat kBookmarkVerticalPadding = 2.0;
|
|
|
| // Left margin before the first button in the bookmark bar.
|
| -CGFloat BookmarkLeftMargin();
|
| +const CGFloat kBookmarkLeftMargin = 2.0;
|
|
|
| // Right margin before the last button in the bookmark bar.
|
| -CGFloat BookmarkRightMargin();
|
| +const CGFloat kBookmarkRightMargin = 2.0;
|
|
|
| // Used as a min/max width for buttons on menus (not on the bar).
|
| const CGFloat kBookmarkMenuButtonMinimumWidth = 100.0;
|
| @@ -196,10 +196,6 @@
|
| // The folder image so we can use one copy for all buttons
|
| base::scoped_nsobject<NSImage> folderImage_;
|
|
|
| - // The Material Design Incognito folder image so we can use one copy for all
|
| - // buttons
|
| - base::scoped_nsobject<NSImage> folderImageWhite_;
|
| -
|
| // The default image, so we can use one copy for all buttons.
|
| base::scoped_nsobject<NSImage> defaultImage_;
|
|
|
| @@ -367,10 +363,8 @@
|
| // Called by our view when it is moved to a window.
|
| - (void)viewDidMoveToWindow;
|
|
|
| -// Provide a favicon for a bookmark node, specifying whether or not it's for
|
| -// use with a dark window theme. May return nil.
|
| -- (NSImage*)faviconForNode:(const bookmarks::BookmarkNode*)node
|
| - forADarkTheme:(BOOL)forADarkTheme;
|
| +// Provide a favicon for a bookmark node. May return nil.
|
| +- (NSImage*)faviconForNode:(const bookmarks::BookmarkNode*)node;
|
|
|
| // Used for situations where the bookmark bar folder menus should no longer
|
| // be actively popping up. Called when the window loses focus, a click has
|
| @@ -396,13 +390,6 @@
|
| - (IBAction)openOffTheSideFolderFromButton:(id)sender;
|
| // Import bookmarks from another browser.
|
| - (IBAction)importBookmarks:(id)sender;
|
| -
|
| -// Returns the "off the side" button (aka the chevron button).
|
| -- (NSButton*)offTheSideButton;
|
| -
|
| -// Returns the "off the side" button image.
|
| -- (NSImage*)offTheSideButtonImage:(BOOL)forDarkMode;
|
| -
|
| @end
|
|
|
| // Redirects from BookmarkBarBridge, the C++ object which glues us to
|
| @@ -434,6 +421,7 @@
|
| - (void)openOrCloseBookmarkFolderForOffTheSideButton;
|
| - (BookmarkBarView*)buttonView;
|
| - (NSMutableArray*)buttons;
|
| +- (NSButton*)offTheSideButton;
|
| - (NSButton*)appsPageShortcutButton;
|
| - (BOOL)offTheSideButtonIsHidden;
|
| - (BOOL)appsPageShortcutButtonIsHidden;
|
|
|