Chromium Code Reviews| 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 |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..296c9d083c40eb889e6e4886ea1d7bb520e09c52 |
| --- /dev/null |
| +++ b/content/browser/renderer_host/pepper/pepper_truetype_font_list.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TRUETYPE_FONT_LIST_H_ |
| +#define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TRUETYPE_FONT_LIST_H_ |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +namespace content { |
| + |
| +// Retrieves the font family names available on the host platform. |
| +// |
| +// 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. |
| +std::vector<std::string> GetFontFamilies_SlowBlocking(); |
|
dmichael (off chromium)
2013/03/12 18:07:58
Probably not a huge deal, assuming there aren't ma
bbudge
2013/03/13 01:26:50
This is the Chromium project. We do things right.
|
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TRUETYPE_FONT_LIST_H_ |