| 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 // ResourceCreationAPI (called in plugin). | 40 // ResourceCreationAPI (called in plugin). |
| 41 virtual PP_Resource CreateAudio(PP_Instance instance, | 41 virtual PP_Resource CreateAudio(PP_Instance instance, |
| 42 PP_Resource config_id, | 42 PP_Resource config_id, |
| 43 PPB_Audio_Callback audio_callback, | 43 PPB_Audio_Callback audio_callback, |
| 44 void* user_data) OVERRIDE; | 44 void* user_data) OVERRIDE; |
| 45 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 45 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
| 46 PP_AudioSampleRate sample_rate, | 46 PP_AudioSampleRate sample_rate, |
| 47 uint32_t sample_frame_count) OVERRIDE; | 47 uint32_t sample_frame_count) OVERRIDE; |
| 48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
| 49 virtual PP_Resource CreateAudioInput( | 49 virtual PP_Resource CreateAudioInput0_1( |
| 50 PP_Instance instance, | 50 PP_Instance instance, |
| 51 PP_Resource config_id, | 51 PP_Resource config_id, |
| 52 PPB_AudioInput_Callback audio_input_callback, | 52 PPB_AudioInput_Callback audio_input_callback, |
| 53 void* user_data) OVERRIDE; | 53 void* user_data) OVERRIDE; |
| 54 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; | 54 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; |
| 55 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 55 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
| 56 virtual PP_Resource CreateBrowserFont( | 56 virtual PP_Resource CreateBrowserFont( |
| 57 PP_Instance instance, | 57 PP_Instance instance, |
| 58 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; | 58 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
| 59 virtual PP_Resource CreateBuffer(PP_Instance instance, | 59 virtual PP_Resource CreateBuffer(PP_Instance instance, |
| 60 uint32_t size) OVERRIDE; | 60 uint32_t size) OVERRIDE; |
| 61 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 61 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
| 62 virtual PP_Resource CreateFileChooser( | 62 virtual PP_Resource CreateFileChooser( |
| 63 PP_Instance instance, | 63 PP_Instance instance, |
| 64 PP_FileChooserMode_Dev mode, | 64 PP_FileChooserMode_Dev mode, |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 137 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 138 | 138 |
| 139 private: | 139 private: |
| 140 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 140 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 } // namespace proxy | 143 } // namespace proxy |
| 144 } // namespace ppapi | 144 } // namespace ppapi |
| 145 | 145 |
| 146 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 146 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| OLD | NEW |