Chromium Code Reviews| Index: ppapi/api/dev/ppb_truetype_font_dev.idl |
| diff --git a/ppapi/api/dev/ppb_truetype_font_dev.idl b/ppapi/api/dev/ppb_truetype_font_dev.idl |
| index 9775d98713e71409b6f412c522e9b98558455538..920f1b82c3b49a7f22dfcc526d335c9addb9302d 100644 |
| --- a/ppapi/api/dev/ppb_truetype_font_dev.idl |
| +++ b/ppapi/api/dev/ppb_truetype_font_dev.idl |
| @@ -8,6 +8,9 @@ |
| * interface exposes font table data for 'sfnt' fonts on the host system. These |
| * include TrueType and OpenType fonts. |
| */ |
| + |
| +[generate_thunk,thunk_include="ppapi/thunk/ppb_truetype_font_singleton_api.h"] |
|
yzshen1
2013/04/10 17:00:48
Does it make sense to deduce the include file name
|
| + |
| label Chrome { |
| M26 = 0.1 |
| }; |
| @@ -146,6 +149,7 @@ interface PPB_TrueTypeFont_Dev { |
| * @return If >= 0, the number of family names returned, otherwise an error |
| * code from <code>pp_errors.h</code>. |
| */ |
| + [singleton,api=PPB_TrueTypeFont_Singleton_API] |
| int32_t GetFontFamilies([in] PP_Instance instance, |
| [in] PP_ArrayOutput output, |
| [in] PP_CompletionCallback callback); |
| @@ -169,6 +173,7 @@ interface PPB_TrueTypeFont_Dev { |
| * @return <code>PP_TRUE</code> if the resource is a |
| * <code>PPB_TrueTypeFont_Dev</code>, <code>PP_FALSE</code> otherwise. |
| */ |
| + [is_function] |
|
yzshen1
2013/04/10 17:00:48
(1) Maybe we should change its name to IsTrueTypeF
bbudge
2013/04/10 17:38:18
I think renaming to IsTrueTypeFont is a good idea.
|
| PP_Bool IsFont([in] PP_Resource resource); |
| /** |