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

Unified Diff: chrome/browser/cocoa/location_bar/location_bar_view_mac.mm

Issue 3046029: [Mac] First pass at final sizing of toolbar items. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Don't disable unit tests for realz, sorry. Created 10 years, 5 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/cocoa/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm
index 1bcad9cb653c9743ae8777c3719a1014d39bc880..896e3f50c2122d759b003d51b5636d5b7c3cb76b 100644
--- a/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm
@@ -69,12 +69,14 @@ LocationBarViewMac::LocationBarViewMac(
disposition_(CURRENT_TAB),
location_icon_decoration_(new LocationIconDecoration(this)),
selected_keyword_decoration_(
- new SelectedKeywordDecoration([field_ font])),
+ new SelectedKeywordDecoration(
+ AutocompleteEditViewMac::GetFieldFont())),
ev_bubble_decoration_(
new EVBubbleDecoration(location_icon_decoration_.get(),
- [field_ font])),
+ AutocompleteEditViewMac::GetFieldFont())),
star_decoration_(new StarDecoration(command_updater)),
- keyword_hint_decoration_(new KeywordHintDecoration([field_ font])),
+ keyword_hint_decoration_(
+ new KeywordHintDecoration(AutocompleteEditViewMac::GetFieldFont())),
profile_(profile),
browser_(browser),
toolbar_model_(toolbar_model),

Powered by Google App Engine
This is Rietveld 408576698