| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MOCK_PLUGIN_DELEGATE_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_MOCK_PLUGIN_DELEGATE_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_MOCK_PLUGIN_DELEGATE_H_ | 6 #define CONTENT_RENDERER_PEPPER_MOCK_PLUGIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "content/renderer/pepper/plugin_delegate.h" | 8 #include "content/renderer/pepper/plugin_delegate.h" |
| 9 | 9 |
| 10 struct PP_NetAddress_Private; | 10 struct PP_NetAddress_Private; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE; | 113 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE; |
| 114 virtual void TCPSocketWrite(uint32 socket_id, | 114 virtual void TCPSocketWrite(uint32 socket_id, |
| 115 const std::string& buffer) OVERRIDE; | 115 const std::string& buffer) OVERRIDE; |
| 116 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE; | 116 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE; |
| 117 virtual void TCPSocketSetOption( | 117 virtual void TCPSocketSetOption( |
| 118 uint32 socket_id, | 118 uint32 socket_id, |
| 119 PP_TCPSocket_Option name, | 119 PP_TCPSocket_Option name, |
| 120 const ::ppapi::SocketOptionData& value) OVERRIDE; | 120 const ::ppapi::SocketOptionData& value) OVERRIDE; |
| 121 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, | 121 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, |
| 122 uint32 socket_id) OVERRIDE; | 122 uint32 socket_id) OVERRIDE; |
| 123 virtual void TCPServerSocketListen(PP_Resource socket_resource, | |
| 124 const PP_NetAddress_Private& addr, | |
| 125 int32_t backlog) OVERRIDE; | |
| 126 virtual void TCPServerSocketAccept(uint32 server_socket_id) OVERRIDE; | |
| 127 virtual void TCPServerSocketStopListening(PP_Resource socket_resource, | |
| 128 uint32 socket_id) OVERRIDE; | |
| 129 // Add/remove a network list observer. | 123 // Add/remove a network list observer. |
| 130 virtual bool X509CertificateParseDER( | 124 virtual bool X509CertificateParseDER( |
| 131 const std::vector<char>& der, | 125 const std::vector<char>& der, |
| 132 ::ppapi::PPB_X509Certificate_Fields* fields) OVERRIDE; | 126 ::ppapi::PPB_X509Certificate_Fields* fields) OVERRIDE; |
| 133 virtual FullscreenContainer* CreateFullscreenContainer( | 127 virtual FullscreenContainer* CreateFullscreenContainer( |
| 134 PepperPluginInstanceImpl* instance) OVERRIDE; | 128 PepperPluginInstanceImpl* instance) OVERRIDE; |
| 135 virtual gfx::Size GetScreenSize() OVERRIDE; | 129 virtual gfx::Size GetScreenSize() OVERRIDE; |
| 136 virtual std::string GetDefaultEncoding() OVERRIDE; | 130 virtual std::string GetDefaultEncoding() OVERRIDE; |
| 137 virtual void ZoomLimitsChanged(double minimum_factor, | 131 virtual void ZoomLimitsChanged(double minimum_factor, |
| 138 double maximum_factor) OVERRIDE; | 132 double maximum_factor) OVERRIDE; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 161 const base::FilePath& path, | 155 const base::FilePath& path, |
| 162 ::ppapi::PpapiPermissions permissions, | 156 ::ppapi::PpapiPermissions permissions, |
| 163 const IPC::ChannelHandle& channel_handle, | 157 const IPC::ChannelHandle& channel_handle, |
| 164 base::ProcessId plugin_pid, | 158 base::ProcessId plugin_pid, |
| 165 int plugin_child_id) OVERRIDE; | 159 int plugin_child_id) OVERRIDE; |
| 166 }; | 160 }; |
| 167 | 161 |
| 168 } // namespace content | 162 } // namespace content |
| 169 | 163 |
| 170 #endif // CONTENT_RENDERER_PEPPER_MOCK_PLUGIN_DELEGATE_H_ | 164 #endif // CONTENT_RENDERER_PEPPER_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |