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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ipc/ipc_channel.h" 9 #include "ipc/ipc_channel.h"
10 #include "ppapi/c/pp_bool.h" 10 #include "ppapi/c/pp_bool.h"
(...skipping 14 matching lines...) Expand all
25 public ::ppapi::thunk::ResourceCreationAPI, 25 public ::ppapi::thunk::ResourceCreationAPI,
26 public ::IPC::Channel::Listener, 26 public ::IPC::Channel::Listener,
27 public IPC::Message::Sender { 27 public IPC::Message::Sender {
28 public: 28 public:
29 ResourceCreationProxy(Dispatcher* dispatcher); 29 ResourceCreationProxy(Dispatcher* dispatcher);
30 virtual ~ResourceCreationProxy(); 30 virtual ~ResourceCreationProxy();
31 31
32 virtual ::ppapi::thunk::ResourceCreationAPI* AsResourceCreation(); 32 virtual ::ppapi::thunk::ResourceCreationAPI* AsResourceCreation();
33 33
34 // ResourceCreationAPI (called in plugin). 34 // ResourceCreationAPI (called in plugin).
35 virtual PP_Resource CreateFontObject(
36 PP_Instance instance,
37 const PP_FontDescription_Dev* description);
35 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, 38 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance,
36 const PP_Size& size, 39 const PP_Size& size,
37 PP_Bool is_always_opaque); 40 PP_Bool is_always_opaque);
38 virtual PP_Resource CreateImageData(PP_Instance instance, 41 virtual PP_Resource CreateImageData(PP_Instance instance,
39 PP_ImageDataFormat format, 42 PP_ImageDataFormat format,
40 const PP_Size& size, 43 const PP_Size& size,
41 PP_Bool init_to_zero); 44 PP_Bool init_to_zero);
42 45
43 virtual bool Send(IPC::Message* msg); 46 virtual bool Send(IPC::Message* msg);
44 virtual bool OnMessageReceived(const IPC::Message& msg); 47 virtual bool OnMessageReceived(const IPC::Message& msg);
(...skipping 14 matching lines...) Expand all
59 62
60 Dispatcher* dispatcher_; 63 Dispatcher* dispatcher_;
61 64
62 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 65 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
63 }; 66 };
64 67
65 } // namespace proxy 68 } // namespace proxy
66 } // namespace pp 69 } // namespace pp
67 70
68 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 71 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698