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

Unified Diff: chrome/browser/ui/webui/web_ui_util.h

Issue 11881055: Simplify WebUI data sources. Currently WebUI data sources implement a URLDataSourceDelegate interfa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix issue in about_ui exposed by cros tests Created 7 years, 11 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
Index: chrome/browser/ui/webui/web_ui_util.h
===================================================================
--- chrome/browser/ui/webui/web_ui_util.h (revision 176942)
+++ chrome/browser/ui/webui/web_ui_util.h (working copy)
@@ -48,6 +48,10 @@
std::string* path,
ui::ScaleFactor* scale_factor);
+// Helper function to set the font family, size, and text direction into the
+// given dictionary.
+void SetFontAndTextDirection(base::DictionaryValue* localized_strings);
+
} // namespace web_ui_util
#endif // CHROME_BROWSER_UI_WEBUI_WEB_UI_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698