Index: ui/base/webui/web_ui_util.h |
diff --git a/ui/base/webui/web_ui_util.h b/ui/base/webui/web_ui_util.h |
index 2dbcfc72e008376f87470ebe63143a70677a7213..34596408ff2833f727d8b5a8e4e016fdfa52a0b1 100644 |
--- a/ui/base/webui/web_ui_util.h |
+++ b/ui/base/webui/web_ui_util.h |
@@ -45,13 +45,11 @@ UI_BASE_EXPORT void ParsePathAndScale(const GURL& url, |
std::string* path, |
float* scale_factor); |
-// Helper function to set the font family, size, and text direction into the |
-// given dictionary. |
-// Note that using font family and size in JS templates is deprecated, because |
-// it might lead to flicker. Instead, use AppendWebUICSSTextDefaults() below. |
-// TODO(bauerb): Remove uses of font-family and font-size in JS templates, then |
-// rename this method to SetTextDirection(). |
-UI_BASE_EXPORT void SetFontAndTextDirection( |
+// Helper function to set some default values (e.g., font family, size, |
+// language, and text direction) into the given dictionary. Requires an |
+// application locale (i.e. g_browser_process->GetApplicationLocale()). |
+UI_BASE_EXPORT void SetLoadTimeDataDefaults( |
+ const std::string& app_locale, |
base::DictionaryValue* localized_strings); |
// Get a CSS declaration for common text styles for all of Web UI. |