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

Unified Diff: ppapi/thunk/resource_creation_api.h

Issue 6981001: Make the Pepper proxy support in-process font rendering. (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/thunk/ppb_image_data_api.h ('k') | ppapi/thunk/thunk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/resource_creation_api.h
===================================================================
--- ppapi/thunk/resource_creation_api.h (revision 84713)
+++ ppapi/thunk/resource_creation_api.h (working copy)
@@ -11,6 +11,7 @@
#include "ppapi/c/ppb_image_data.h"
#include "ppapi/proxy/interface_id.h"
+struct PP_FontDescription_Dev;
struct PP_Size;
namespace ppapi {
@@ -26,6 +27,10 @@
static const ::pp::proxy::InterfaceID interface_id =
::pp::proxy::INTERFACE_ID_RESOURCE_CREATION;
+ // Note: can't be called CreateFont due to Windows #defines.
+ virtual PP_Resource CreateFontObject(
+ PP_Instance instance,
+ const PP_FontDescription_Dev* description) = 0;
virtual PP_Resource CreateGraphics2D(PP_Instance instance,
const PP_Size& size,
PP_Bool is_always_opaque) = 0;
« no previous file with comments | « ppapi/thunk/ppb_image_data_api.h ('k') | ppapi/thunk/thunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698