| 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 CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CHROME_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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 const webkit_glue::CustomContextMenuContext& custom_context); | 160 const webkit_glue::CustomContextMenuContext& custom_context); |
| 161 void OnCustomContextMenuAction( | 161 void OnCustomContextMenuAction( |
| 162 const webkit_glue::CustomContextMenuContext& custom_context, | 162 const webkit_glue::CustomContextMenuContext& custom_context, |
| 163 unsigned action); | 163 unsigned action); |
| 164 void CompleteShowContextMenu(int request_id, | 164 void CompleteShowContextMenu(int request_id, |
| 165 bool did_select, | 165 bool did_select, |
| 166 unsigned action); | 166 unsigned action); |
| 167 virtual webkit::ppapi::FullscreenContainer* | 167 virtual webkit::ppapi::FullscreenContainer* |
| 168 CreateFullscreenContainer( | 168 CreateFullscreenContainer( |
| 169 webkit::ppapi::PluginInstance* instance); | 169 webkit::ppapi::PluginInstance* instance); |
| 170 virtual gfx::Size GetScreenSize(); |
| 170 virtual std::string GetDefaultEncoding(); | 171 virtual std::string GetDefaultEncoding(); |
| 171 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor); | 172 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor); |
| 172 virtual std::string ResolveProxy(const GURL& url); | 173 virtual std::string ResolveProxy(const GURL& url); |
| 173 virtual void DidStartLoading(); | 174 virtual void DidStartLoading(); |
| 174 virtual void DidStopLoading(); | 175 virtual void DidStopLoading(); |
| 175 virtual void SetContentRestriction(int restrictions); | 176 virtual void SetContentRestriction(int restrictions); |
| 176 virtual void HasUnsupportedFeature(); | 177 virtual void HasUnsupportedFeature(); |
| 177 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); | 178 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); |
| 178 | 179 |
| 179 private: | 180 private: |
| (...skipping 14 matching lines...) Expand all Loading... |
| 194 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>, | 195 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>, |
| 195 IDMapOwnPointer> pending_connect_tcps_; | 196 IDMapOwnPointer> pending_connect_tcps_; |
| 196 | 197 |
| 197 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, | 198 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, |
| 198 IDMapOwnPointer> pending_context_menus_; | 199 IDMapOwnPointer> pending_context_menus_; |
| 199 | 200 |
| 200 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 201 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 201 }; | 202 }; |
| 202 | 203 |
| 203 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 204 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |