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

Unified Diff: ppapi/proxy/ppb_font_proxy.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/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_font_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_font_proxy.h
===================================================================
--- ppapi/proxy/ppb_font_proxy.h (revision 85766)
+++ ppapi/proxy/ppb_font_proxy.h (working copy)
@@ -18,17 +18,25 @@
namespace pp {
namespace proxy {
-class SerializedVarReceiveInput;
+class SerializedVarReturnValue;
-class PPB_Font_Proxy : public InterfaceProxy {
+class PPB_Font_Proxy : public ::ppapi::FunctionGroupBase,
+ public ::ppapi::thunk::PPB_Font_FunctionAPI,
+ public InterfaceProxy {
public:
PPB_Font_Proxy(Dispatcher* dispatcher, const void* target_interface);
virtual ~PPB_Font_Proxy();
static const Info* GetInfo();
+ // FunctionGroupBase overrides.
+ virtual ::ppapi::thunk::PPB_Font_FunctionAPI* AsFont_FunctionAPI() OVERRIDE;
+
+ // PPB_Font_FunctionAPI implementation.
+ virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE;
+
// InterfaceProxy implementation.
- virtual bool OnMessageReceived(const IPC::Message& msg);
+ virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(PPB_Font_Proxy);
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_font_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698