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

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

Issue 2208973003: Add some extra height to bookmark bar if the font wants to be larger (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address various nits from code review comments Created 4 years, 3 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_constants.h
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h
index 97a7518e865bb48948aa0f18e7c6b140b5f1963f..cdae99d99ca367e91112b8064054d6c582846603 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h
@@ -23,11 +23,12 @@ const int kMaterialVisualHeightOffset = 2;
// new tab pages.
const int kNTPBookmarkBarPadding =
(chrome::kNTPBookmarkBarHeight -
- (chrome::kBookmarkBarHeight + kVisualHeightOffset)) / 2;
+ (chrome::kMinimumBookmarkBarHeight + kVisualHeightOffset)) /
+ 2;
// The height of buttons in the bookmark bar.
const int kBookmarkButtonHeight =
- chrome::kBookmarkBarHeight + kVisualHeightOffset;
+ chrome::kMinimumBookmarkBarHeight + kVisualHeightOffset;
// The height of buttons in a bookmark bar folder menu.
const CGFloat kBookmarkFolderButtonHeight = 24.0;
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_bar_constants.h ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698