Chromium Code Reviews| 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 c774af98f9c24e57db66e4640396aac0d5257d0c..f814086ee5b7077cc6bcc4cc11beeee89f0ea0f0 100644 |
| --- a/ui/base/webui/web_ui_util.h |
| +++ b/ui/base/webui/web_ui_util.h |
| @@ -50,9 +50,16 @@ UI_BASE_EXPORT void SetLoadTimeDataDefaults( |
| const std::string& app_locale, |
| base::DictionaryValue* localized_strings); |
| +// Get a CSS declaration for common text styles using provided template. |
| +UI_BASE_EXPORT std::string GetWebUiCssTextDefaults(std::string css_template); |
| + |
| // Get a CSS declaration for common text styles for all of Web UI. |
| UI_BASE_EXPORT std::string GetWebUiCssTextDefaults(); |
| +// Get a CSS declaration for common text styles for Web UI using |
| +// Material Design. |
| +UI_BASE_EXPORT std::string GetWebUiCssTextDefaultsMD(); |
|
Dan Beam
2016/01/12 23:05:52
MD or Md? ugh
Evan Stade
2016/01/13 04:14:53
style guide clearly states Md
edwardjung
2016/01/13 21:24:07
Done.
|
| + |
| // Appends the CSS declaration returned by GetWebUiCssTextDefaults() as an |
| // inline stylesheet. |
| UI_BASE_EXPORT void AppendWebUiCssTextDefaults(std::string* html); |