| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 DirContents* contents); | 83 DirContents* contents); |
| 84 virtual scoped_refptr<base::MessageLoopProxy> | 84 virtual scoped_refptr<base::MessageLoopProxy> |
| 85 GetFileThreadMessageLoopProxy(); | 85 GetFileThreadMessageLoopProxy(); |
| 86 virtual int32_t ConnectTcp( | 86 virtual int32_t ConnectTcp( |
| 87 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, | 87 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, |
| 88 const char* host, | 88 const char* host, |
| 89 uint16_t port); | 89 uint16_t port); |
| 90 virtual int32_t ConnectTcpAddress( | 90 virtual int32_t ConnectTcpAddress( |
| 91 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, | 91 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, |
| 92 const struct PP_Flash_NetAddress* addr); | 92 const struct PP_Flash_NetAddress* addr); |
| 93 virtual int32_t ShowContextMenu( |
| 94 webkit::ppapi::PPB_Flash_Menu_Impl* menu, |
| 95 const gfx::Point& position); |
| 93 virtual FullscreenContainer* CreateFullscreenContainer( | 96 virtual FullscreenContainer* CreateFullscreenContainer( |
| 94 PluginInstance* instance); | 97 PluginInstance* instance); |
| 95 virtual std::string GetDefaultEncoding(); | 98 virtual std::string GetDefaultEncoding(); |
| 96 virtual void ZoomLimitsChanged(double minimum_factor, | 99 virtual void ZoomLimitsChanged(double minimum_factor, |
| 97 double maximum_factor); | 100 double maximum_factor); |
| 98 virtual std::string ResolveProxy(const GURL& url); | 101 virtual std::string ResolveProxy(const GURL& url); |
| 99 virtual void DidStartLoading(); | 102 virtual void DidStartLoading(); |
| 100 virtual void DidStopLoading(); | 103 virtual void DidStopLoading(); |
| 101 virtual void SetContentRestriction(int restrictions); | 104 virtual void SetContentRestriction(int restrictions); |
| 102 virtual void HasUnsupportedFeature(); | 105 virtual void HasUnsupportedFeature(); |
| 103 }; | 106 }; |
| 104 | 107 |
| 105 } // namespace ppapi | 108 } // namespace ppapi |
| 106 } // namespace webkit | 109 } // namespace webkit |
| 107 | 110 |
| 108 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 111 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |