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

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

Issue 2011173002: Revert of [Mac][Material Design] Bring bookmark hover state, etc. up to spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_folder_button_cell.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_controller.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
index b861435e1e560161dba42b4e97b3a6b8c4b5046b..b3bde6358e7e88b6778823967fb3ea27fcc2a9b5 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
@@ -255,7 +255,7 @@
if (!ui::MaterialDesignController::IsModeMaterial()) {
return 1.0;
}
- return 4.0;
+ return 10.0;
}
CGFloat BookmarkVerticalPadding() {
@@ -518,11 +518,6 @@
kMaterialBookmarksTextfieldOffsetX,
kMaterialBookmarksTextfieldOffsetY).origin;
[[buttonView_ importBookmarksButton] setFrame:originalImportBookmarksRect_];
-
- // Move the chevron button up 2pts from its position in the xib.
- NSRect chevronButtonFrame = [offTheSideButton_ frame];
- chevronButtonFrame.origin.y += 2;
- [offTheSideButton_ setFrame:chevronButtonFrame];
}
// To make life happier when the bookmark bar is floating, the chevron is a
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698