| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "webkit/plugins/ppapi/plugin_delegate.h" | 8 #include "webkit/plugins/ppapi/plugin_delegate.h" |
| 9 | 9 |
| 10 namespace webkit { | 10 namespace webkit { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 const char* host, | 76 const char* host, |
| 77 uint16_t port); | 77 uint16_t port); |
| 78 virtual int32_t ConnectTcpAddress( | 78 virtual int32_t ConnectTcpAddress( |
| 79 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, | 79 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, |
| 80 const struct PP_Flash_NetAddress* addr); | 80 const struct PP_Flash_NetAddress* addr); |
| 81 virtual int32_t ShowContextMenu( | 81 virtual int32_t ShowContextMenu( |
| 82 webkit::ppapi::PPB_Flash_Menu_Impl* menu, | 82 webkit::ppapi::PPB_Flash_Menu_Impl* menu, |
| 83 const gfx::Point& position); | 83 const gfx::Point& position); |
| 84 virtual FullscreenContainer* CreateFullscreenContainer( | 84 virtual FullscreenContainer* CreateFullscreenContainer( |
| 85 PluginInstance* instance); | 85 PluginInstance* instance); |
| 86 virtual gfx::Size GetScreenSize(); |
| 86 virtual std::string GetDefaultEncoding(); | 87 virtual std::string GetDefaultEncoding(); |
| 87 virtual void ZoomLimitsChanged(double minimum_factor, | 88 virtual void ZoomLimitsChanged(double minimum_factor, |
| 88 double maximum_factor); | 89 double maximum_factor); |
| 89 virtual std::string ResolveProxy(const GURL& url); | 90 virtual std::string ResolveProxy(const GURL& url); |
| 90 virtual void DidStartLoading(); | 91 virtual void DidStartLoading(); |
| 91 virtual void DidStopLoading(); | 92 virtual void DidStopLoading(); |
| 92 virtual void SetContentRestriction(int restrictions); | 93 virtual void SetContentRestriction(int restrictions); |
| 93 virtual void HasUnsupportedFeature(); | 94 virtual void HasUnsupportedFeature(); |
| 94 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); | 95 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 } // namespace ppapi | 98 } // namespace ppapi |
| 98 } // namespace webkit | 99 } // namespace webkit |
| 99 | 100 |
| 100 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 101 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |