| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 virtual void InstanceDeleted( | 168 virtual void InstanceDeleted( |
| 169 webkit::ppapi::PluginInstance* instance); | 169 webkit::ppapi::PluginInstance* instance); |
| 170 virtual SkBitmap* GetSadPluginBitmap(); | 170 virtual SkBitmap* GetSadPluginBitmap(); |
| 171 virtual PlatformAudio* CreateAudio( | 171 virtual PlatformAudio* CreateAudio( |
| 172 uint32_t sample_rate, | 172 uint32_t sample_rate, |
| 173 uint32_t sample_count, | 173 uint32_t sample_count, |
| 174 PlatformAudio::Client* client); | 174 PlatformAudio::Client* client); |
| 175 virtual PlatformImage2D* CreateImage2D(int width, int height); | 175 virtual PlatformImage2D* CreateImage2D(int width, int height); |
| 176 virtual PlatformContext3D* CreateContext3D(); | 176 virtual PlatformContext3D* CreateContext3D(); |
| 177 virtual PlatformVideoDecoder* CreateVideoDecoder( | 177 virtual PlatformVideoDecoder* CreateVideoDecoder( |
| 178 PP_VideoDecoderConfig_Dev* decoder_config); | 178 PP_VideoConfigElement* decoder_config, |
| 179 media::VideoDecodeAccelerator::Client* client); |
| 179 virtual PpapiBroker* ConnectToPpapiBroker( | 180 virtual PpapiBroker* ConnectToPpapiBroker( |
| 180 webkit::ppapi::PPB_Broker_Impl* client); | 181 webkit::ppapi::PPB_Broker_Impl* client); |
| 181 virtual void NumberOfFindResultsChanged(int identifier, | 182 virtual void NumberOfFindResultsChanged(int identifier, |
| 182 int total, | 183 int total, |
| 183 bool final_result); | 184 bool final_result); |
| 184 virtual void SelectedFindResultChanged(int identifier, int index); | 185 virtual void SelectedFindResultChanged(int identifier, int index); |
| 185 virtual bool RunFileChooser( | 186 virtual bool RunFileChooser( |
| 186 const WebKit::WebFileChooserParams& params, | 187 const WebKit::WebFileChooserParams& params, |
| 187 WebKit::WebFileChooserCompletion* chooser_completion); | 188 WebKit::WebFileChooserCompletion* chooser_completion); |
| 188 virtual bool AsyncOpenFile(const FilePath& path, | 189 virtual bool AsyncOpenFile(const FilePath& path, |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, | 299 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, |
| 299 IDMapOwnPointer> pending_context_menus_; | 300 IDMapOwnPointer> pending_context_menus_; |
| 300 | 301 |
| 301 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; | 302 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; |
| 302 BrokerMap pending_connect_broker_; | 303 BrokerMap pending_connect_broker_; |
| 303 | 304 |
| 304 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 305 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 305 }; | 306 }; |
| 306 | 307 |
| 307 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 308 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |