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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 webkit::ppapi::PluginInstance* instance); | 171 webkit::ppapi::PluginInstance* instance); |
172 virtual void InstanceDeleted( | 172 virtual void InstanceDeleted( |
173 webkit::ppapi::PluginInstance* instance); | 173 webkit::ppapi::PluginInstance* instance); |
174 virtual SkBitmap* GetSadPluginBitmap(); | 174 virtual SkBitmap* GetSadPluginBitmap(); |
175 virtual PlatformAudio* CreateAudio( | 175 virtual PlatformAudio* CreateAudio( |
176 uint32_t sample_rate, | 176 uint32_t sample_rate, |
177 uint32_t sample_count, | 177 uint32_t sample_count, |
178 PlatformAudio::Client* client); | 178 PlatformAudio::Client* client); |
179 virtual PlatformImage2D* CreateImage2D(int width, int height); | 179 virtual PlatformImage2D* CreateImage2D(int width, int height); |
180 virtual PlatformContext3D* CreateContext3D(); | 180 virtual PlatformContext3D* CreateContext3D(); |
| 181 virtual PlatformVideoCapture* CreateVideoCapture( |
| 182 media::VideoCapture::EventHandler* handler) OVERRIDE; |
181 virtual PlatformVideoDecoder* CreateVideoDecoder( | 183 virtual PlatformVideoDecoder* CreateVideoDecoder( |
182 media::VideoDecodeAccelerator::Client* client, | 184 media::VideoDecodeAccelerator::Client* client, |
183 int32 command_buffer_route_id); | 185 int32 command_buffer_route_id); |
184 virtual PpapiBroker* ConnectToPpapiBroker( | 186 virtual PpapiBroker* ConnectToPpapiBroker( |
185 webkit::ppapi::PPB_Broker_Impl* client); | 187 webkit::ppapi::PPB_Broker_Impl* client); |
186 virtual void NumberOfFindResultsChanged(int identifier, | 188 virtual void NumberOfFindResultsChanged(int identifier, |
187 int total, | 189 int total, |
188 bool final_result); | 190 bool final_result); |
189 virtual void SelectedFindResultChanged(int identifier, int index); | 191 virtual void SelectedFindResultChanged(int identifier, int index); |
190 virtual bool RunFileChooser( | 192 virtual bool RunFileChooser( |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; | 310 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; |
309 BrokerMap pending_connect_broker_; | 311 BrokerMap pending_connect_broker_; |
310 | 312 |
311 // Whether or not the focus is on a PPAPI plugin | 313 // Whether or not the focus is on a PPAPI plugin |
312 bool is_pepper_plugin_focused_; | 314 bool is_pepper_plugin_focused_; |
313 | 315 |
314 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 316 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
315 }; | 317 }; |
316 | 318 |
317 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 319 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |