| Index: content/browser/renderer_host/pepper/pepper_truetype_font_list.h
|
| diff --git a/content/browser/renderer_host/pepper/pepper_truetype_font_list.h b/content/browser/renderer_host/pepper/pepper_truetype_font_list.h
|
| index c0ce7827d5329393eebf94aab95a62276ed39677..da944c5007104f57f6cbb3174437cf0f195adcb7 100644
|
| --- a/content/browser/renderer_host/pepper/pepper_truetype_font_list.h
|
| +++ b/content/browser/renderer_host/pepper/pepper_truetype_font_list.h
|
| @@ -8,6 +8,12 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +namespace ppapi {
|
| +namespace proxy {
|
| +struct SerializedTrueTypeFontDesc;
|
| +}
|
| +}
|
| +
|
| namespace content {
|
|
|
| // Adds font family names on the host platform to the vector of strings.
|
| @@ -16,6 +22,15 @@ namespace content {
|
| // sure not to call this on a time-critical thread like the UI or I/O threads.
|
| void GetFontFamilies_SlowBlocking(std::vector<std::string>* font_families);
|
|
|
| +// Adds font descriptors for fonts on the host platform in the given family to
|
| +// the vector of descriptors.
|
| +//
|
| +// This function is potentially slow (the system may do a bunch of I/O) so be
|
| +// sure not to call this on a time-critical thread like the UI or I/O threads.
|
| +void GetFontsInFamily_SlowBlocking(
|
| + const std::string& family,
|
| + std::vector<ppapi::proxy::SerializedTrueTypeFontDesc>* fonts_in_family);
|
| +
|
| } // namespace content
|
|
|
| #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TRUETYPE_FONT_LIST_H_
|
|
|