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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 virtual PlatformAudioOutput* CreateAudioOutput( | 196 virtual PlatformAudioOutput* CreateAudioOutput( |
197 uint32_t sample_rate, | 197 uint32_t sample_rate, |
198 uint32_t sample_count, | 198 uint32_t sample_count, |
199 PlatformAudioOutputClient* client) OVERRIDE; | 199 PlatformAudioOutputClient* client) OVERRIDE; |
200 virtual PlatformAudioInput* CreateAudioInput( | 200 virtual PlatformAudioInput* CreateAudioInput( |
201 const std::string& device_id, | 201 const std::string& device_id, |
202 uint32_t sample_rate, | 202 uint32_t sample_rate, |
203 uint32_t sample_count, | 203 uint32_t sample_count, |
204 PlatformAudioInputClient* client) OVERRIDE; | 204 PlatformAudioInputClient* client) OVERRIDE; |
205 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; | 205 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; |
| 206 virtual PlatformGraphics2D* GetGraphics2D( |
| 207 webkit::ppapi::PluginInstance* instance, |
| 208 PP_Resource resource) OVERRIDE; |
206 virtual PlatformContext3D* CreateContext3D() OVERRIDE; | 209 virtual PlatformContext3D* CreateContext3D() OVERRIDE; |
207 virtual void ReparentContext(PlatformContext3D*) OVERRIDE; | 210 virtual void ReparentContext(PlatformContext3D*) OVERRIDE; |
208 virtual PlatformVideoCapture* CreateVideoCapture( | 211 virtual PlatformVideoCapture* CreateVideoCapture( |
209 const std::string& device_id, | 212 const std::string& device_id, |
210 PlatformVideoCaptureEventHandler* handler) OVERRIDE; | 213 PlatformVideoCaptureEventHandler* handler) OVERRIDE; |
211 virtual PlatformVideoDecoder* CreateVideoDecoder( | 214 virtual PlatformVideoDecoder* CreateVideoDecoder( |
212 media::VideoDecodeAccelerator::Client* client, | 215 media::VideoDecodeAccelerator::Client* client, |
213 int32 command_buffer_route_id) OVERRIDE; | 216 int32 command_buffer_route_id) OVERRIDE; |
214 virtual Broker* ConnectToBroker( | 217 virtual Broker* ConnectToBroker( |
215 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; | 218 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 | 528 |
526 scoped_ptr<PepperDeviceEnumerationEventHandler> | 529 scoped_ptr<PepperDeviceEnumerationEventHandler> |
527 device_enumeration_event_handler_; | 530 device_enumeration_event_handler_; |
528 | 531 |
529 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 532 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
530 }; | 533 }; |
531 | 534 |
532 } // namespace content | 535 } // namespace content |
533 | 536 |
534 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 537 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |