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

Unified Diff: ui/base/webui/web_ui_util.cc

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 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 | « ui/base/ui_base.gyp ('k') | ui/base/x/x11_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/webui/web_ui_util.cc
diff --git a/ui/base/webui/web_ui_util.cc b/ui/base/webui/web_ui_util.cc
index d901491300b000206c6ae7a78086935d662625d9..aba0009dc141dae437e6f11dd4b95cb29c78149e 100644
--- a/ui/base/webui/web_ui_util.cc
+++ b/ui/base/webui/web_ui_util.cc
@@ -140,13 +140,6 @@ void SetFontAndTextDirection(base::DictionaryValue* localized_strings) {
std::string font_family = l10n_util::GetStringUTF8(web_font_family_id);
-#if defined(TOOLKIT_GTK)
Evan Stade 2014/04/14 16:36:56 why make this behavioral change?
Elliot Glaysher 2014/04/14 16:52:01 What behavioral change? This is dead code and hasn
Evan Stade 2014/04/14 18:21:20 Today was the first day I got a version of Chrome
- // Use the system font on Linux/GTK. Keep the hard-coded font families as
- // backup in case for some crazy reason this one isn't available.
- font_family = ui::ResourceBundle::GetSharedInstance().GetFont(
- ui::ResourceBundle::BaseFont).GetFontName() + ", " + font_family;
-#endif
-
localized_strings->SetString("fontfamily", font_family);
localized_strings->SetString("fontsize",
l10n_util::GetStringUTF8(web_font_size_id));
« no previous file with comments | « ui/base/ui_base.gyp ('k') | ui/base/x/x11_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698