diff options
Diffstat (limited to 'webkit/glue/plugins/pepper_private2.h')
-rw-r--r-- | webkit/glue/plugins/pepper_private2.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_private2.h b/webkit/glue/plugins/pepper_private2.h index 492669a..a8a4b6e 100644 --- a/webkit/glue/plugins/pepper_private2.h +++ b/webkit/glue/plugins/pepper_private2.h @@ -5,8 +5,12 @@ #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE2_H_ #define WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE2_H_ +#include "build/build_config.h" +#include "third_party/ppapi/c/pp_point.h" +#include "third_party/ppapi/c/pp_rect.h" #include "webkit/glue/plugins/pepper_resource.h" +struct PP_FontDescription_Dev; struct PPB_Private2; namespace pepper { @@ -16,6 +20,21 @@ class Private2 { // Returns a pointer to the interface implementing PPB_Private2 that is // exposed to the plugin. static const PPB_Private2* GetInterface(); + + static bool DrawGlyphs(PP_Resource pp_image_data, + const PP_FontDescription_Dev* font_desc, + uint32_t color, + PP_Point position, + PP_Rect clip, + float transformation[3][3], + uint32_t glyph_count, + uint16_t glyph_indices[], + PP_Point glyph_advances[]) +#if defined(OS_LINUX) + ; +#else + { return false; } +#endif }; } // namespace pepper |