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

Unified Diff: app/resource_bundle.cc

Issue 155253: Some views GTK fixes. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « no previous file | chrome/browser/views/tabs/dragged_tab_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/resource_bundle.cc
diff --git a/app/resource_bundle.cc b/app/resource_bundle.cc
index 4acac71bbd2f526909788b266e6ff08d264b32de..e04f79e51ee76a4ddbd0a6046be43d87ed6ec389 100644
--- a/app/resource_bundle.cc
+++ b/app/resource_bundle.cc
@@ -170,7 +170,11 @@ void ResourceBundle::LoadFontsIfNecessary() {
*small_font_ = base_font_->DeriveFont(-2);
medium_font_.reset(new gfx::Font());
+#if defined(OS_LINUX) && defined(TOOLKIT_VIEWS)
+ *medium_font_ = base_font_->DeriveFont(2);
+#else
*medium_font_ = base_font_->DeriveFont(3);
+#endif
medium_bold_font_.reset(new gfx::Font());
*medium_bold_font_ =
« no previous file with comments | « no previous file | chrome/browser/views/tabs/dragged_tab_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698