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 84e06f3170be5d3e336a932458efc5d5447f4f25..a139f7868e52d58eb3a9ed1cc4e593f364bca3d5 100644 |
--- a/ui/base/webui/web_ui_util.h |
+++ b/ui/base/webui/web_ui_util.h |
@@ -45,9 +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. |
-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 some common font styles for all of WebUI. |