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

Unified Diff: ppapi/thunk/ppb_font_api.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 | « ppapi/shared_impl/function_group_base.h ('k') | ppapi/thunk/ppb_font_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_font_api.h
===================================================================
--- ppapi/thunk/ppb_font_api.h (revision 85766)
+++ ppapi/thunk/ppb_font_api.h (working copy)
@@ -6,10 +6,21 @@
#define PPAPI_THUNK_PPB_FONT_API_H_
#include "ppapi/c/dev/ppb_font_dev.h"
+#include "ppapi/proxy/interface_id.h"
namespace ppapi {
namespace thunk {
+// API for static font functions.
+class PPB_Font_FunctionAPI {
+ public:
+ static const ::pp::proxy::InterfaceID interface_id =
+ ::pp::proxy::INTERFACE_ID_PPB_FONT;
+
+ virtual PP_Var GetFontFamilies(PP_Instance instance) = 0;
+};
+
+// API for font resources.
class PPB_Font_API {
public:
virtual PP_Bool Describe(PP_FontDescription_Dev* description,
« no previous file with comments | « ppapi/shared_impl/function_group_base.h ('k') | ppapi/thunk/ppb_font_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698