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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm

Issue 2057043002: Align the Mac Omnibox items vertically again. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/location_bar/location_bar_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
index a0bbefd1ba6ee03f81e5392a8295f292bdffd8b0..3a0738e0bd7bb9d3ed862e7bc7c684b08650faf5 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
@@ -82,7 +82,8 @@ NSMenu* LocationBarDecoration::GetMenu() {
}
NSFont* LocationBarDecoration::GetFont() const {
- return OmniboxViewMac::GetNormalFieldFont();
+ return OmniboxViewMac::GetFieldFont(gfx::Font::NORMAL,
+ gfx::Font::Weight::NORMAL);
}
NSPoint LocationBarDecoration::GetBubblePointInFrame(NSRect frame) {

Powered by Google App Engine
This is Rietveld 408576698