diff options
author | Mike Klein <mtklein@chromium.org> | 2017-11-13 11:03:16 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-13 17:00:51 +0000 |
commit | b251b72d3d91fb7976f7984ae60793c87d0dae4c (patch) | |
tree | 095ee9667fe02d292d53eb358960713941971de4 /tools/sk_tool_utils.h | |
parent | f1729a79379d65d7d373594e4f0d713d99beb1f2 (diff) |
add platform_font_manager()
This string replaces {major_}platform_os_name() and
platform_extra_config() for the font-focused GMs using them.
The GDI bots will report "GDI", the NativeFont bots their OS,
and other bots "".
Change-Id: I8f7bb1ffea3cc91601c98b4ccff7a3a234ac77d3
Reviewed-on: https://skia-review.googlesource.com/70500
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tools/sk_tool_utils.h')
-rw-r--r-- | tools/sk_tool_utils.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h index 2931243b9b..fe9daad255 100644 --- a/tools/sk_tool_utils.h +++ b/tools/sk_tool_utils.h @@ -52,19 +52,9 @@ namespace sk_tool_utils { const char* platform_os_emoji(); /** - * Return the platform name with the version number ("Mac10.9", "Win8", etc.) if available. + * Returns a string describing the platform font manager, if we're using one, otherwise "". */ - const char* platform_os_name(); - - /** - * Return the platform name without the version number ("Mac", "Win", etc.) if available. - */ - SkString major_platform_os_name(); - - /** - * Return the platform extra config (e.g. "GDI") if available. - */ - const char* platform_extra_config(const char* config); + const char* platform_font_manager(); /** * Map serif, san-serif, and monospace to the platform-specific font name. |