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