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