Index: webkit/plugins/ppapi/ppb_font_impl.h |
=================================================================== |
--- webkit/plugins/ppapi/ppb_font_impl.h (revision 85766) |
+++ webkit/plugins/ppapi/ppb_font_impl.h (working copy) |
@@ -27,10 +27,6 @@ |
PPB_Font_Impl(PluginInstance* instance, const PP_FontDescription_Dev& desc); |
virtual ~PPB_Font_Impl(); |
- // Returns a pointer to the interface implementing PPB_Font that is exposed to |
- // the plugin. |
- static const PPB_Font_Dev* GetInterface(); |
- |
// ResourceObjectBase. |
virtual ::ppapi::thunk::PPB_Font_API* AsFont_API() OVERRIDE; |
@@ -58,6 +54,19 @@ |
DISALLOW_COPY_AND_ASSIGN(PPB_Font_Impl); |
}; |
+class PPB_Font_FunctionImpl : public ::ppapi::FunctionGroupBase, |
+ public ::ppapi::thunk::PPB_Font_FunctionAPI { |
+ public: |
+ PPB_Font_FunctionImpl(); |
+ ~PPB_Font_FunctionImpl(); |
+ |
+ // FunctionGroupBase overrides. |
+ virtual ::ppapi::thunk::PPB_Font_FunctionAPI* AsFont_FunctionAPI(); |
+ |
+ // PPB_Font_FunctionAPI implementation. |
+ virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; |
+}; |
viettrungluu
2011/05/18 21:07:46
DISALLOW_COPY_AND_ASSIGN?
|
+ |
} // namespace ppapi |
} // namespace webkit |