OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 PP_Instance instance, | 137 PP_Instance instance, |
138 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; | 138 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
139 virtual PP_Resource CreateBuffer(PP_Instance instance, | 139 virtual PP_Resource CreateBuffer(PP_Instance instance, |
140 uint32_t size) OVERRIDE; | 140 uint32_t size) OVERRIDE; |
141 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 141 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
142 virtual PP_Resource CreateFileChooser( | 142 virtual PP_Resource CreateFileChooser( |
143 PP_Instance instance, | 143 PP_Instance instance, |
144 PP_FileChooserMode_Dev mode, | 144 PP_FileChooserMode_Dev mode, |
145 const char* accept_types) OVERRIDE; | 145 const char* accept_types) OVERRIDE; |
146 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; | 146 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
| 147 virtual PP_Resource CreateFlashFontFile( |
| 148 PP_Instance instance, |
| 149 const PP_FontDescription_Dev* description, |
| 150 PP_PrivateFontCharset charset) OVERRIDE; |
147 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 151 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
148 const PP_Flash_Menu* menu_data) OVERRIDE; | 152 const PP_Flash_Menu* menu_data) OVERRIDE; |
149 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 153 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
150 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; | 154 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; |
151 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 155 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
152 PP_Bool vertical) OVERRIDE; | 156 PP_Bool vertical) OVERRIDE; |
153 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 157 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
154 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 158 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
155 virtual PP_Resource CreateVideoDecoder( | 159 virtual PP_Resource CreateVideoDecoder( |
156 PP_Instance instance, | 160 PP_Instance instance, |
157 PP_Resource context3d_id, | 161 PP_Resource context3d_id, |
158 PP_VideoDecoder_Profile profile) OVERRIDE; | 162 PP_VideoDecoder_Profile profile) OVERRIDE; |
159 #endif // !defined(OS_NACL) | 163 #endif // !defined(OS_NACL) |
160 | 164 |
161 virtual bool Send(IPC::Message* msg) OVERRIDE; | 165 virtual bool Send(IPC::Message* msg) OVERRIDE; |
162 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 166 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
163 | 167 |
164 private: | 168 private: |
165 Connection GetConnection(); | 169 Connection GetConnection(); |
166 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 170 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
167 }; | 171 }; |
168 | 172 |
169 } // namespace proxy | 173 } // namespace proxy |
170 } // namespace ppapi | 174 } // namespace ppapi |
171 | 175 |
172 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 176 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |