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 PlatformAudioInput::Client* client); |
193 virtual PlatformImage2D* CreateImage2D(int width, int height); | 195 virtual PlatformImage2D* CreateImage2D(int width, int height); |
194 virtual PlatformContext3D* CreateContext3D(); | 196 virtual PlatformContext3D* CreateContext3D(); |
195 virtual PlatformVideoCapture* CreateVideoCapture( | 197 virtual PlatformVideoCapture* CreateVideoCapture( |
196 media::VideoCapture::EventHandler* handler) OVERRIDE; | 198 media::VideoCapture::EventHandler* handler) OVERRIDE; |
197 virtual PlatformVideoDecoder* CreateVideoDecoder( | 199 virtual PlatformVideoDecoder* CreateVideoDecoder( |
198 media::VideoDecodeAccelerator::Client* client, | 200 media::VideoDecodeAccelerator::Client* client, |
199 int32 command_buffer_route_id); | 201 int32 command_buffer_route_id); |
200 virtual PpapiBroker* ConnectToPpapiBroker( | 202 virtual PpapiBroker* ConnectToPpapiBroker( |
201 webkit::ppapi::PPB_Broker_Impl* client); | 203 webkit::ppapi::PPB_Broker_Impl* client); |
202 virtual void NumberOfFindResultsChanged(int identifier, | 204 virtual void NumberOfFindResultsChanged(int identifier, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 // received responses for them. | 376 // received responses for them. |
375 // The logic in LockMouse() makes sure that a lock request won't be sent when | 377 // The logic in LockMouse() makes sure that a lock request won't be sent when |
376 // there is a pending unlock request. | 378 // there is a pending unlock request. |
377 bool pending_lock_request_; | 379 bool pending_lock_request_; |
378 bool pending_unlock_request_; | 380 bool pending_unlock_request_; |
379 | 381 |
380 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 382 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
381 }; | 383 }; |
382 | 384 |
383 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 385 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |