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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 bool is_pepper_plugin_focused_; | 336 bool is_pepper_plugin_focused_; |
335 | 337 |
336 // Set of instances to receive a notification when the enterprise policy has | 338 // Set of instances to receive a notification when the enterprise policy has |
337 // been updated. | 339 // been updated. |
338 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; | 340 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; |
339 | 341 |
340 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 342 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
341 }; | 343 }; |
342 | 344 |
343 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 345 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |