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

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

Issue 1988223002: [Mac][Material Design] Bring bookmark hover background up to spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 45235cfc2e5d36dd0be8953539a64d6719c8d346..97a7518e865bb48948aa0f18e7c6b140b5f1963f 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h
@@ -17,22 +17,17 @@ namespace bookmarks {
// Correction used for computing other values based on the height.
const int kVisualHeightOffset = 2;
-const int kMaterialVisualHeightOffset = 0;
+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;
-const int kMaterialNTPBookmarkBarPadding =
- (chrome::kNTPBookmarkBarHeight -
- (chrome::kBookmarkBarHeight + kMaterialVisualHeightOffset)) / 2;
// The height of buttons in the bookmark bar.
const int kBookmarkButtonHeight =
chrome::kBookmarkBarHeight + kVisualHeightOffset;
-const int kMaterialBookmarkButtonHeight =
- chrome::kBookmarkBarHeight + kMaterialVisualHeightOffset;
// The height of buttons in a bookmark bar folder menu.
const CGFloat kBookmarkFolderButtonHeight = 24.0;
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698