| Index: ppapi/proxy/truetype_font_singleton_resource.h
|
| diff --git a/ppapi/proxy/truetype_font_singleton_resource.h b/ppapi/proxy/truetype_font_singleton_resource.h
|
| index 03c9c7d321717a7be333c3dddb6ca9f07201e337..dee58632dcb07ceabbca8ecb8cb7c3c40850b7b9 100644
|
| --- a/ppapi/proxy/truetype_font_singleton_resource.h
|
| +++ b/ppapi/proxy/truetype_font_singleton_resource.h
|
| @@ -18,7 +18,7 @@ class TrackedCallback;
|
|
|
| namespace proxy {
|
|
|
| -struct SerializedTrueTypeFontDescription;
|
| +struct SerializedTrueTypeFontDesc;
|
|
|
| // This handles the singleton calls (that don't take a PP_Resource parameter)
|
| // on the TrueType font interface.
|
| @@ -38,6 +38,11 @@ class TrueTypeFontSingletonResource
|
| PP_Instance instance,
|
| const PP_ArrayOutput& output,
|
| const scoped_refptr<TrackedCallback>& callback) OVERRIDE;
|
| + virtual int32_t GetFontsInFamily(
|
| + PP_Instance instance,
|
| + PP_Var family,
|
| + const PP_ArrayOutput& output,
|
| + const scoped_refptr<TrackedCallback>& callback) OVERRIDE;
|
|
|
| private:
|
| void OnPluginMsgGetFontFamiliesComplete(
|
| @@ -45,6 +50,11 @@ class TrueTypeFontSingletonResource
|
| PP_ArrayOutput array_output,
|
| const ResourceMessageReplyParams& params,
|
| const std::vector<std::string>& data);
|
| + void OnPluginMsgGetFontsInFamilyComplete(
|
| + scoped_refptr<TrackedCallback> callback,
|
| + PP_ArrayOutput array_output,
|
| + const ResourceMessageReplyParams& params,
|
| + const std::vector<SerializedTrueTypeFontDesc>& fonts);
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TrueTypeFontSingletonResource);
|
| };
|
|
|