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