Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Unified Diff: webkit/plugins/ppapi/ppb_font_impl.h

Issue 7044012: Support getting the font list in Pepper. This currently only works out of (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppb_font_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,22 @@
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;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PPB_Font_FunctionImpl);
+};
+
} // namespace ppapi
} // namespace webkit
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppb_font_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698