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_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 <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 virtual void PluginCaretPositionChanged( | 209 virtual void PluginCaretPositionChanged( |
210 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 210 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
211 virtual void PluginRequestedCancelComposition( | 211 virtual void PluginRequestedCancelComposition( |
212 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 212 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
213 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 213 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
214 virtual void InstanceCreated( | 214 virtual void InstanceCreated( |
215 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 215 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
216 virtual void InstanceDeleted( | 216 virtual void InstanceDeleted( |
217 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 217 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
218 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 218 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
| 219 virtual uint32_t GetAudioHardwareOutputSampleRate() OVERRIDE; |
| 220 virtual uint32_t GetAudioHardwareOutputBufferSize() OVERRIDE; |
219 virtual PlatformAudio* CreateAudio( | 221 virtual PlatformAudio* CreateAudio( |
220 uint32_t sample_rate, | 222 uint32_t sample_rate, |
221 uint32_t sample_count, | 223 uint32_t sample_count, |
222 PlatformAudioCommonClient* client) OVERRIDE; | 224 PlatformAudioCommonClient* client) OVERRIDE; |
223 virtual PlatformAudioInput* CreateAudioInput( | 225 virtual PlatformAudioInput* CreateAudioInput( |
224 uint32_t sample_rate, | 226 uint32_t sample_rate, |
225 uint32_t sample_count, | 227 uint32_t sample_count, |
226 PlatformAudioCommonClient* client) OVERRIDE; | 228 PlatformAudioCommonClient* client) OVERRIDE; |
227 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; | 229 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; |
228 virtual PlatformContext3D* CreateContext3D() OVERRIDE; | 230 virtual PlatformContext3D* CreateContext3D() OVERRIDE; |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 webkit::ppapi::PluginInstance* last_mouse_event_target_; | 500 webkit::ppapi::PluginInstance* last_mouse_event_target_; |
499 | 501 |
500 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 502 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
501 | 503 |
502 scoped_ptr<DeviceEnumerationEventHandler> device_enumeration_event_handler_; | 504 scoped_ptr<DeviceEnumerationEventHandler> device_enumeration_event_handler_; |
503 | 505 |
504 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 506 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
505 }; | 507 }; |
506 | 508 |
507 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 509 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |