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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) override; | 166 PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) override; |
167 PP_Resource CreateFlashDRM(PP_Instance instance) override; | 167 PP_Resource CreateFlashDRM(PP_Instance instance) override; |
168 PP_Resource CreateFlashFontFile( | 168 PP_Resource CreateFlashFontFile( |
169 PP_Instance instance, | 169 PP_Instance instance, |
170 const PP_BrowserFont_Trusted_Description* description, | 170 const PP_BrowserFont_Trusted_Description* description, |
171 PP_PrivateFontCharset charset) override; | 171 PP_PrivateFontCharset charset) override; |
172 PP_Resource CreateFlashMenu(PP_Instance instance, | 172 PP_Resource CreateFlashMenu(PP_Instance instance, |
173 const PP_Flash_Menu* menu_data) override; | 173 const PP_Flash_Menu* menu_data) override; |
174 PP_Resource CreateFlashMessageLoop(PP_Instance instance) override; | 174 PP_Resource CreateFlashMessageLoop(PP_Instance instance) override; |
175 PP_Resource CreatePlatformVerificationPrivate(PP_Instance instance) override; | 175 PP_Resource CreatePlatformVerificationPrivate(PP_Instance instance) override; |
176 PP_Resource CreateScrollbar(PP_Instance instance, | |
177 PP_Bool vertical) override; | |
178 PP_Resource CreateVideoCapture(PP_Instance instance) override; | 176 PP_Resource CreateVideoCapture(PP_Instance instance) override; |
179 PP_Resource CreateVideoDecoderDev( | 177 PP_Resource CreateVideoDecoderDev( |
180 PP_Instance instance, | 178 PP_Instance instance, |
181 PP_Resource context3d_id, | 179 PP_Resource context3d_id, |
182 PP_VideoDecoder_Profile profile) override; | 180 PP_VideoDecoder_Profile profile) override; |
183 #endif // !defined(OS_NACL) | 181 #endif // !defined(OS_NACL) |
184 | 182 |
185 bool Send(IPC::Message* msg) override; | 183 bool Send(IPC::Message* msg) override; |
186 bool OnMessageReceived(const IPC::Message& msg) override; | 184 bool OnMessageReceived(const IPC::Message& msg) override; |
187 | 185 |
188 private: | 186 private: |
189 Connection GetConnection(); | 187 Connection GetConnection(); |
190 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 188 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
191 }; | 189 }; |
192 | 190 |
193 } // namespace proxy | 191 } // namespace proxy |
194 } // namespace ppapi | 192 } // namespace ppapi |
195 | 193 |
196 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 194 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |