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