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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 virtual PlatformAudioInput* CreateAudioInput( | 178 virtual PlatformAudioInput* CreateAudioInput( |
179 const std::string& device_id, | 179 const std::string& device_id, |
180 uint32_t sample_rate, | 180 uint32_t sample_rate, |
181 uint32_t sample_count, | 181 uint32_t sample_count, |
182 PlatformAudioInputClient* client) OVERRIDE; | 182 PlatformAudioInputClient* client) OVERRIDE; |
183 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; | 183 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; |
184 virtual PlatformGraphics2D* GetGraphics2D( | 184 virtual PlatformGraphics2D* GetGraphics2D( |
185 webkit::ppapi::PluginInstance* instance, | 185 webkit::ppapi::PluginInstance* instance, |
186 PP_Resource resource) OVERRIDE; | 186 PP_Resource resource) OVERRIDE; |
187 virtual PlatformContext3D* CreateContext3D() OVERRIDE; | 187 virtual PlatformContext3D* CreateContext3D() OVERRIDE; |
188 virtual void ReparentContext(PlatformContext3D*) OVERRIDE; | |
189 virtual PlatformVideoCapture* CreateVideoCapture( | 188 virtual PlatformVideoCapture* CreateVideoCapture( |
190 const std::string& device_id, | 189 const std::string& device_id, |
191 PlatformVideoCaptureEventHandler* handler) OVERRIDE; | 190 PlatformVideoCaptureEventHandler* handler) OVERRIDE; |
192 virtual PlatformVideoDecoder* CreateVideoDecoder( | 191 virtual PlatformVideoDecoder* CreateVideoDecoder( |
193 media::VideoDecodeAccelerator::Client* client, | 192 media::VideoDecodeAccelerator::Client* client, |
194 int32 command_buffer_route_id) OVERRIDE; | 193 int32 command_buffer_route_id) OVERRIDE; |
195 virtual Broker* ConnectToBroker( | 194 virtual Broker* ConnectToBroker( |
196 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; | 195 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; |
197 virtual void NumberOfFindResultsChanged(int identifier, | 196 virtual void NumberOfFindResultsChanged(int identifier, |
198 int total, | 197 int total, |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 device_enumeration_event_handler_; | 447 device_enumeration_event_handler_; |
449 | 448 |
450 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; | 449 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; |
451 | 450 |
452 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 451 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
453 }; | 452 }; |
454 | 453 |
455 } // namespace content | 454 } // namespace content |
456 | 455 |
457 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 456 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |