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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 virtual PlatformAudioOutput* CreateAudioOutput( | 199 virtual PlatformAudioOutput* CreateAudioOutput( |
200 uint32_t sample_rate, | 200 uint32_t sample_rate, |
201 uint32_t sample_count, | 201 uint32_t sample_count, |
202 PlatformAudioOutputClient* client) OVERRIDE; | 202 PlatformAudioOutputClient* client) OVERRIDE; |
203 virtual PlatformAudioInput* CreateAudioInput( | 203 virtual PlatformAudioInput* CreateAudioInput( |
204 const std::string& device_id, | 204 const std::string& device_id, |
205 uint32_t sample_rate, | 205 uint32_t sample_rate, |
206 uint32_t sample_count, | 206 uint32_t sample_count, |
207 PlatformAudioInputClient* client) OVERRIDE; | 207 PlatformAudioInputClient* client) OVERRIDE; |
208 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; | 208 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; |
| 209 virtual PlatformGraphics2D* GetGraphics2D( |
| 210 webkit::ppapi::PluginInstance* instance, |
| 211 PP_Resource resource) OVERRIDE; |
209 virtual PlatformContext3D* CreateContext3D() OVERRIDE; | 212 virtual PlatformContext3D* CreateContext3D() OVERRIDE; |
210 virtual void ReparentContext(PlatformContext3D*) OVERRIDE; | 213 virtual void ReparentContext(PlatformContext3D*) OVERRIDE; |
211 virtual PlatformVideoCapture* CreateVideoCapture( | 214 virtual PlatformVideoCapture* CreateVideoCapture( |
212 const std::string& device_id, | 215 const std::string& device_id, |
213 PlatformVideoCaptureEventHandler* handler) OVERRIDE; | 216 PlatformVideoCaptureEventHandler* handler) OVERRIDE; |
214 virtual PlatformVideoDecoder* CreateVideoDecoder( | 217 virtual PlatformVideoDecoder* CreateVideoDecoder( |
215 media::VideoDecodeAccelerator::Client* client, | 218 media::VideoDecodeAccelerator::Client* client, |
216 int32 command_buffer_route_id) OVERRIDE; | 219 int32 command_buffer_route_id) OVERRIDE; |
217 virtual Broker* ConnectToBroker( | 220 virtual Broker* ConnectToBroker( |
218 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; | 221 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 | 548 |
546 scoped_ptr<PepperDeviceEnumerationEventHandler> | 549 scoped_ptr<PepperDeviceEnumerationEventHandler> |
547 device_enumeration_event_handler_; | 550 device_enumeration_event_handler_; |
548 | 551 |
549 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 552 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
550 }; | 553 }; |
551 | 554 |
552 } // namespace content | 555 } // namespace content |
553 | 556 |
554 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 557 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |