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

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: Removed #if in header not used for iOS & Android Created 4 years, 4 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..74a362dfebf6679e4681e39eb75486d7c773eb9d 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h
@@ -22,12 +22,13 @@ const int kMaterialVisualHeightOffset = 2;
// The amount of space between the inner bookmark bar and the outer toolbar on
// new tab pages.
const int kNTPBookmarkBarPadding =
- (chrome::kNTPBookmarkBarHeight -
- (chrome::kBookmarkBarHeight + kVisualHeightOffset)) / 2;
+ (chrome::kNTPMinimumBookmarkBarHeight -
+ (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;

Powered by Google App Engine
This is Rietveld 408576698