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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 PPB_Audio_Callback audio_callback, | 101 PPB_Audio_Callback audio_callback, |
102 void* user_data) OVERRIDE; | 102 void* user_data) OVERRIDE; |
103 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 103 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
104 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 104 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
105 PP_AudioSampleRate sample_rate, | 105 PP_AudioSampleRate sample_rate, |
106 uint32_t sample_frame_count) OVERRIDE; | 106 uint32_t sample_frame_count) OVERRIDE; |
107 virtual PP_Resource CreateFileChooser(PP_Instance instance, | 107 virtual PP_Resource CreateFileChooser(PP_Instance instance, |
108 PP_FileChooserMode_Dev mode, | 108 PP_FileChooserMode_Dev mode, |
109 const PP_Var& accept_types) OVERRIDE; | 109 const PP_Var& accept_types) OVERRIDE; |
110 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 110 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
111 const PP_Size& size, | 111 const PP_Size* size, |
112 PP_Bool is_always_opaque) OVERRIDE; | 112 PP_Bool is_always_opaque) OVERRIDE; |
113 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 113 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
114 PP_Resource share_context, | 114 PP_Resource share_context, |
115 const int32_t* attrib_list) OVERRIDE; | 115 const int32_t* attrib_list) OVERRIDE; |
116 virtual PP_Resource CreateGraphics3DRaw( | 116 virtual PP_Resource CreateGraphics3DRaw( |
117 PP_Instance instance, | 117 PP_Instance instance, |
118 PP_Resource share_context, | 118 PP_Resource share_context, |
119 const int32_t* attrib_list) OVERRIDE; | 119 const int32_t* attrib_list) OVERRIDE; |
120 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; | 120 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; |
121 virtual PP_Resource CreateImageData(PP_Instance instance, | 121 virtual PP_Resource CreateImageData(PP_Instance instance, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 169 |
170 private: | 170 private: |
171 Connection GetConnection(); | 171 Connection GetConnection(); |
172 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 172 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
173 }; | 173 }; |
174 | 174 |
175 } // namespace proxy | 175 } // namespace proxy |
176 } // namespace ppapi | 176 } // namespace ppapi |
177 | 177 |
178 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 178 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |