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