Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2039)

Unified Diff: ppapi/api/dev/ppb_truetype_font_dev.idl

Issue 13820003: Pepper: Autogenerate thunk for PPB_TrueTypeFont. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
/**

Powered by Google App Engine
This is Rietveld 408576698