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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 206 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
207 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 207 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
208 virtual void InstanceCreated( | 208 virtual void InstanceCreated( |
209 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 209 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
210 virtual void InstanceDeleted( | 210 virtual void InstanceDeleted( |
211 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 211 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
212 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 212 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
213 virtual PlatformAudio* CreateAudio( | 213 virtual PlatformAudio* CreateAudio( |
214 uint32_t sample_rate, | 214 uint32_t sample_rate, |
215 uint32_t sample_count, | 215 uint32_t sample_count, |
216 PlatformAudioCommonClient* client) OVERRIDE; | 216 PlatformAudio::Client* client) OVERRIDE; |
217 virtual PlatformAudioInput* CreateAudioInput( | |
218 uint32_t sample_rate, | |
219 uint32_t sample_count, | |
220 PlatformAudioCommonClient* client) OVERRIDE; | |
221 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; | 217 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; |
222 virtual PlatformContext3D* CreateContext3D() OVERRIDE; | 218 virtual PlatformContext3D* CreateContext3D() OVERRIDE; |
223 virtual PlatformVideoCapture* CreateVideoCapture( | 219 virtual PlatformVideoCapture* CreateVideoCapture( |
224 media::VideoCapture::EventHandler* handler) OVERRIDE; | 220 media::VideoCapture::EventHandler* handler) OVERRIDE; |
225 virtual PlatformVideoDecoder* CreateVideoDecoder( | 221 virtual PlatformVideoDecoder* CreateVideoDecoder( |
226 media::VideoDecodeAccelerator::Client* client, | 222 media::VideoDecodeAccelerator::Client* client, |
227 int32 command_buffer_route_id) OVERRIDE; | 223 int32 command_buffer_route_id) OVERRIDE; |
228 virtual PpapiBroker* ConnectToPpapiBroker( | 224 virtual PpapiBroker* ConnectToPpapiBroker( |
229 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; | 225 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; |
230 virtual void NumberOfFindResultsChanged(int identifier, | 226 virtual void NumberOfFindResultsChanged(int identifier, |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 // The plugin instance that received the last mouse event. It is set to NULL | 403 // The plugin instance that received the last mouse event. It is set to NULL |
408 // if the last mouse event went to elements other than Pepper plugins. | 404 // if the last mouse event went to elements other than Pepper plugins. |
409 // |last_mouse_event_target_| is not owned by this class. We can know about | 405 // |last_mouse_event_target_| is not owned by this class. We can know about |
410 // when it is destroyed via InstanceDeleted(). | 406 // when it is destroyed via InstanceDeleted(). |
411 webkit::ppapi::PluginInstance* last_mouse_event_target_; | 407 webkit::ppapi::PluginInstance* last_mouse_event_target_; |
412 | 408 |
413 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 409 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
414 }; | 410 }; |
415 | 411 |
416 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 412 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |