OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <map> | 10 #include <map> |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance); | 183 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance); |
184 virtual void InstanceCreated( | 184 virtual void InstanceCreated( |
185 webkit::ppapi::PluginInstance* instance); | 185 webkit::ppapi::PluginInstance* instance); |
186 virtual void InstanceDeleted( | 186 virtual void InstanceDeleted( |
187 webkit::ppapi::PluginInstance* instance); | 187 webkit::ppapi::PluginInstance* instance); |
188 virtual SkBitmap* GetSadPluginBitmap(); | 188 virtual SkBitmap* GetSadPluginBitmap(); |
189 virtual PlatformAudio* CreateAudio( | 189 virtual PlatformAudio* CreateAudio( |
190 uint32_t sample_rate, | 190 uint32_t sample_rate, |
191 uint32_t sample_count, | 191 uint32_t sample_count, |
192 PlatformAudio::Client* client); | 192 PlatformAudio::Client* client); |
| 193 virtual PlatformAudioInput* CreateAudioInput( |
| 194 uint32_t sample_rate, |
| 195 uint32_t sample_count, |
| 196 PlatformAudioInput::Client* client); |
193 virtual PlatformImage2D* CreateImage2D(int width, int height); | 197 virtual PlatformImage2D* CreateImage2D(int width, int height); |
194 virtual PlatformContext3D* CreateContext3D(); | 198 virtual PlatformContext3D* CreateContext3D(); |
195 virtual PlatformVideoCapture* CreateVideoCapture( | 199 virtual PlatformVideoCapture* CreateVideoCapture( |
196 media::VideoCapture::EventHandler* handler) OVERRIDE; | 200 media::VideoCapture::EventHandler* handler) OVERRIDE; |
197 virtual PlatformVideoDecoder* CreateVideoDecoder( | 201 virtual PlatformVideoDecoder* CreateVideoDecoder( |
198 media::VideoDecodeAccelerator::Client* client, | 202 media::VideoDecodeAccelerator::Client* client, |
199 int32 command_buffer_route_id); | 203 int32 command_buffer_route_id); |
200 virtual PpapiBroker* ConnectToPpapiBroker( | 204 virtual PpapiBroker* ConnectToPpapiBroker( |
201 webkit::ppapi::PPB_Broker_Impl* client); | 205 webkit::ppapi::PPB_Broker_Impl* client); |
202 virtual void NumberOfFindResultsChanged(int identifier, | 206 virtual void NumberOfFindResultsChanged(int identifier, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 // received responses for them. | 378 // received responses for them. |
375 // The logic in LockMouse() makes sure that a lock request won't be sent when | 379 // The logic in LockMouse() makes sure that a lock request won't be sent when |
376 // there is a pending unlock request. | 380 // there is a pending unlock request. |
377 bool pending_lock_request_; | 381 bool pending_lock_request_; |
378 bool pending_unlock_request_; | 382 bool pending_unlock_request_; |
379 | 383 |
380 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 384 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
381 }; | 385 }; |
382 | 386 |
383 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 387 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |