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 <string> | 10 #include <string> |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 CreateFullscreenContainer( | 213 CreateFullscreenContainer( |
214 webkit::ppapi::PluginInstance* instance); | 214 webkit::ppapi::PluginInstance* instance); |
215 virtual gfx::Size GetScreenSize(); | 215 virtual gfx::Size GetScreenSize(); |
216 virtual std::string GetDefaultEncoding(); | 216 virtual std::string GetDefaultEncoding(); |
217 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor); | 217 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor); |
218 virtual std::string ResolveProxy(const GURL& url); | 218 virtual std::string ResolveProxy(const GURL& url); |
219 virtual void DidStartLoading(); | 219 virtual void DidStartLoading(); |
220 virtual void DidStopLoading(); | 220 virtual void DidStopLoading(); |
221 virtual void SetContentRestriction(int restrictions); | 221 virtual void SetContentRestriction(int restrictions); |
222 virtual void HasUnsupportedFeature(); | 222 virtual void HasUnsupportedFeature(); |
| 223 virtual void SaveAs(); |
223 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); | 224 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); |
224 virtual webkit_glue::P2PTransport* CreateP2PTransport(); | 225 virtual webkit_glue::P2PTransport* CreateP2PTransport(); |
225 | 226 |
226 private: | 227 private: |
227 // Asynchronously attempts to create a PPAPI broker for the given plugin. | 228 // Asynchronously attempts to create a PPAPI broker for the given plugin. |
228 scoped_refptr<webkit::ppapi::PluginDelegate::PpapiBroker> CreatePpapiBroker( | 229 scoped_refptr<webkit::ppapi::PluginDelegate::PpapiBroker> CreatePpapiBroker( |
229 webkit::ppapi::PluginModule* plugin_module); | 230 webkit::ppapi::PluginModule* plugin_module); |
230 | 231 |
231 // Pointer to the RenderView that owns us. | 232 // Pointer to the RenderView that owns us. |
232 RenderView* render_view_; | 233 RenderView* render_view_; |
(...skipping 15 matching lines...) Expand all Loading... |
248 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, | 249 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, |
249 IDMapOwnPointer> pending_context_menus_; | 250 IDMapOwnPointer> pending_context_menus_; |
250 | 251 |
251 IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> | 252 IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> |
252 pending_connect_broker_; | 253 pending_connect_broker_; |
253 | 254 |
254 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 255 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
255 }; | 256 }; |
256 | 257 |
257 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 258 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |