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

Unified Diff: chrome/views/controls/tree/tree_view.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/views/controls/table/table_view.cc ('k') | chrome/views/widget/aero_tooltip_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/controls/tree/tree_view.cc
===================================================================
--- chrome/views/controls/tree/tree_view.cc (revision 13518)
+++ chrome/views/controls/tree/tree_view.cc (working copy)
@@ -10,6 +10,7 @@
#include "chrome/common/gfx/chrome_canvas.h"
#include "chrome/common/gfx/icon_util.h"
#include "chrome/common/l10n_util.h"
+#include "chrome/common/l10n_util_win.h"
#include "chrome/common/resource_bundle.h"
#include "chrome/common/stl_util-inl.h"
#include "chrome/views/focus/focus_manager.h"
@@ -346,6 +347,8 @@
reinterpret_cast<LONG_PTR>(&wrapper_));
original_handler_ = win_util::SetWindowProc(tree_view_,
&TreeWndProc);
+ l10n_util::AdjustUIFontForWindow(tree_view_);
+
if (model_) {
CreateRootItems();
model_->SetObserver(this);
« no previous file with comments | « chrome/views/controls/table/table_view.cc ('k') | chrome/views/widget/aero_tooltip_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698