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

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

Issue 747923004: webui: minimize webui flicker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: creis@ + davidben@ review Created 6 years, 1 month 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 | « extensions/browser/renderer_startup_helper.cc ('k') | ui/base/webui/web_ui_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 85f5fd900439d9fdbb9c3831a30a6639787a4f85..84e06f3170be5d3e336a932458efc5d5447f4f25 100644
--- a/ui/base/webui/web_ui_util.h
+++ b/ui/base/webui/web_ui_util.h
@@ -50,6 +50,11 @@ UI_BASE_EXPORT void ParsePathAndScale(const GURL& url,
UI_BASE_EXPORT void SetFontAndTextDirection(
base::DictionaryValue* localized_strings);
+// Get some common font styles for all of WebUI.
+UI_BASE_EXPORT std::string GetFontFamily();
+UI_BASE_EXPORT std::string GetFontSize();
+UI_BASE_EXPORT std::string GetTextDirection();
+
} // namespace webui
#endif // UI_BASE_WEBUI_WEB_UI_UTIL_H_
« no previous file with comments | « extensions/browser/renderer_startup_helper.cc ('k') | ui/base/webui/web_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698