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_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 const std::string& server_name, | 277 const std::string& server_name, |
278 uint16_t server_port, | 278 uint16_t server_port, |
279 const std::vector<std::vector<char> >& trusted_certs, | 279 const std::vector<std::vector<char> >& trusted_certs, |
280 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE; | 280 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE; |
281 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE; | 281 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE; |
282 virtual void TCPSocketWrite(uint32 socket_id, | 282 virtual void TCPSocketWrite(uint32 socket_id, |
283 const std::string& buffer) OVERRIDE; | 283 const std::string& buffer) OVERRIDE; |
284 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE; | 284 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE; |
285 virtual void TCPSocketSetOption( | 285 virtual void TCPSocketSetOption( |
286 uint32 socket_id, | 286 uint32 socket_id, |
287 PP_TCPSocket_Option_Dev name, | 287 PP_TCPSocket_Option name, |
288 const ppapi::SocketOptionData& value) OVERRIDE; | 288 const ppapi::SocketOptionData& value) OVERRIDE; |
289 virtual void RegisterTCPSocket( | 289 virtual void RegisterTCPSocket( |
290 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, | 290 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, |
291 uint32 socket_id) OVERRIDE; | 291 uint32 socket_id) OVERRIDE; |
292 virtual void TCPServerSocketListen( | 292 virtual void TCPServerSocketListen( |
293 PP_Resource socket_resource, | 293 PP_Resource socket_resource, |
294 const PP_NetAddress_Private& addr, | 294 const PP_NetAddress_Private& addr, |
295 int32_t backlog) OVERRIDE; | 295 int32_t backlog) OVERRIDE; |
296 virtual void TCPServerSocketAccept(uint32 server_socket_id) OVERRIDE; | 296 virtual void TCPServerSocketAccept(uint32 server_socket_id) OVERRIDE; |
297 virtual void TCPServerSocketStopListening( | 297 virtual void TCPServerSocketStopListening( |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 device_enumeration_event_handler_; | 459 device_enumeration_event_handler_; |
460 | 460 |
461 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; | 461 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; |
462 | 462 |
463 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 463 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
464 }; | 464 }; |
465 | 465 |
466 } // namespace content | 466 } // namespace content |
467 | 467 |
468 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 468 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |