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

Unified Diff: chrome/common/resource_bundle.cc

Issue 57025: Make the font family and the font size used in dom UI localizable. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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/resource_bundle.h ('k') | chrome/third_party/jstemplate/jstemplate.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/resource_bundle.cc
===================================================================
--- chrome/common/resource_bundle.cc (revision 12792)
+++ chrome/common/resource_bundle.cc (working copy)
@@ -185,10 +185,6 @@
large_font_.reset(new ChromeFont());
*large_font_ = base_font_->DeriveFont(8);
-
- web_font_.reset(new ChromeFont());
- *web_font_ = base_font_->DeriveFont(1,
- base_font_->style() | ChromeFont::WEB);
}
}
@@ -203,8 +199,6 @@
return *medium_bold_font_;
case LargeFont:
return *large_font_;
- case WebFont:
- return *web_font_;
default:
return *base_font_;
}
« no previous file with comments | « chrome/common/resource_bundle.h ('k') | chrome/third_party/jstemplate/jstemplate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698