| 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..2a3040c6691b39170c7e04d173bde50234a05ee9 100644
|
| --- a/ppapi/proxy/truetype_font_singleton_resource.h
|
| +++ b/ppapi/proxy/truetype_font_singleton_resource.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "ppapi/proxy/connection.h"
|
| #include "ppapi/proxy/plugin_resource.h"
|
| +#include "ppapi/proxy/serialized_structs.h"
|
| #include "ppapi/thunk/ppb_truetype_font_singleton_api.h"
|
|
|
| namespace ppapi {
|
| @@ -18,8 +19,6 @@ class TrackedCallback;
|
|
|
| namespace proxy {
|
|
|
| -struct SerializedTrueTypeFontDescription;
|
| -
|
| // This handles the singleton calls (that don't take a PP_Resource parameter)
|
| // on the TrueType font interface.
|
| class TrueTypeFontSingletonResource
|
| @@ -38,6 +37,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 +49,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);
|
| };
|
|
|