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

Unified Diff: chrome/views/controls/menu/chrome_menu.cc

Issue 62064: UI font localization part 2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « chrome/common/win_util.cc ('k') | chrome/views/controls/menu/menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/controls/menu/chrome_menu.cc
===================================================================
--- chrome/views/controls/menu/chrome_menu.cc (revision 13518)
+++ chrome/views/controls/menu/chrome_menu.cc (working copy)
@@ -19,6 +19,7 @@
#include "chrome/common/gfx/chrome_canvas.h"
#include "chrome/common/gfx/color_utils.h"
#include "chrome/common/l10n_util.h"
+#include "chrome/common/l10n_util_win.h"
#include "chrome/common/os_exchange_data.h"
#include "chrome/views/border.h"
#include "chrome/views/view_constants.h"
@@ -129,6 +130,7 @@
NONCLIENTMETRICS metrics;
win_util::GetNonClientMetrics(&metrics);
+ l10n_util::AdjustUIFont(&(metrics.lfMenuFont));
HFONT font = CreateFontIndirect(&metrics.lfMenuFont);
DLOG_ASSERT(font);
return ChromeFont::CreateFont(font);
« no previous file with comments | « chrome/common/win_util.cc ('k') | chrome/views/controls/menu/menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698