From 7a1f7c6f6c982287b3f6bb2acded619f3824416c Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 10 May 2011 21:17:48 +0000 Subject: Make the Pepper proxy support in-process font rendering. This implements a WebKit thread in the PPAPI plugin process so we can do the font calls without IPC. The existing font support was refactored into a virtual class (to prevent PPAPI from depending on WebKit and creating a circular GYP dependency). This moves the renderer sandbox support into content/common so that it can be used by the PPAPI process. Review URL: http://codereview.chromium.org/6981001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84856 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/proxy/ppapi_param_traits.cc | 41 --------------------------------------- 1 file changed, 41 deletions(-) (limited to 'ppapi/proxy/ppapi_param_traits.cc') diff --git a/ppapi/proxy/ppapi_param_traits.cc b/ppapi/proxy/ppapi_param_traits.cc index 420809f..20a00c8 100644 --- a/ppapi/proxy/ppapi_param_traits.cc +++ b/ppapi/proxy/ppapi_param_traits.cc @@ -267,47 +267,6 @@ void ParamTraits::Log( std::string* l) { } -// PPBFont_DrawTextAt_Params --------------------------------------------------- - -// static -void ParamTraits::Write( - Message* m, - const param_type& p) { - ParamTraits::Write(m, p.font); - ParamTraits::Write(m, p.image_data); - ParamTraits::Write(m, p.text_is_rtl); - ParamTraits::Write(m, p.override_direction); - ParamTraits::Write(m, p.position); - ParamTraits::Write(m, p.color); - ParamTraits::Write(m, p.clip); - ParamTraits::Write(m, p.clip_is_null); - ParamTraits::Write(m, p.image_data_is_opaque); -} - -// static -bool ParamTraits::Read( - const Message* m, - void** iter, - param_type* r) { - return - ParamTraits::Read(m, iter, &r->font) && - ParamTraits::Read(m, iter, - &r->image_data) && - ParamTraits::Read(m, iter, &r->text_is_rtl) && - ParamTraits::Read(m, iter, &r->override_direction) && - ParamTraits::Read(m, iter, &r->position) && - ParamTraits::Read(m, iter, &r->color) && - ParamTraits::Read(m, iter, &r->clip) && - ParamTraits::Read(m, iter, &r->clip_is_null) && - ParamTraits::Read(m, iter, &r->image_data_is_opaque); -} - -// static -void ParamTraits::Log( - const param_type& p, - std::string* l) { -} - // PPBURLLoader_UpdateProgress_Params ------------------------------------------ // static -- cgit v1.1