diff options
Diffstat (limited to 'ppapi/proxy/ppapi_param_traits.h')
-rw-r--r-- | ppapi/proxy/ppapi_param_traits.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ppapi/proxy/ppapi_param_traits.h b/ppapi/proxy/ppapi_param_traits.h index 7556e35..38ec6f3 100644 --- a/ppapi/proxy/ppapi_param_traits.h +++ b/ppapi/proxy/ppapi_param_traits.h @@ -33,6 +33,7 @@ struct PPBFlash_DrawGlyphs_Params; struct PPBURLLoader_UpdateProgress_Params; struct SerializedDirEntry; struct SerializedFontDescription; +struct SerializedTrueTypeFontDesc; class SerializedFlashMenu; class SerializedHandle; class SerializedVar; @@ -117,6 +118,15 @@ struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::proxy::SerializedFontDescription> { }; template<> +struct PPAPI_PROXY_EXPORT + ParamTraits<ppapi::proxy::SerializedTrueTypeFontDesc> { + typedef ppapi::proxy::SerializedTrueTypeFontDesc param_type; + static void Write(Message* m, const param_type& p); + static bool Read(const Message* m, PickleIterator* iter, param_type* r); + static void Log(const param_type& p, std::string* l); +}; + +template<> struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::proxy::SerializedHandle> { typedef ppapi::proxy::SerializedHandle param_type; static void Write(Message* m, const param_type& p); |