Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.h

Issue 9405038: Add PPAPI interface for secure sockets in flash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 27 matching lines...) Expand all
38 38
39 namespace gfx { 39 namespace gfx {
40 class Point; 40 class Point;
41 class Rect; 41 class Rect;
42 } 42 }
43 43
44 namespace IPC { 44 namespace IPC {
45 struct ChannelHandle; 45 struct ChannelHandle;
46 } 46 }
47 47
48 namespace ppapi {
49 class PPB_X509Certificate_Fields;
50 }
51
48 namespace webkit { 52 namespace webkit {
49 struct WebPluginInfo; 53 struct WebPluginInfo;
50 namespace ppapi { 54 namespace ppapi {
51 class PepperFilePath; 55 class PepperFilePath;
52 class PluginInstance; 56 class PluginInstance;
53 class PluginModule; 57 class PluginModule;
54 } 58 }
55 } 59 }
56 60
57 namespace WebKit { 61 namespace WebKit {
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 const PP_NetAddress_Private& addr) OVERRIDE; 296 const PP_NetAddress_Private& addr) OVERRIDE;
293 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE; 297 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE;
294 virtual void TCPServerSocketListen( 298 virtual void TCPServerSocketListen(
295 webkit::ppapi::PPB_TCPServerSocket_Private_Impl* socket, 299 webkit::ppapi::PPB_TCPServerSocket_Private_Impl* socket,
296 uint32 temp_socket_id, 300 uint32 temp_socket_id,
297 const PP_NetAddress_Private& addr, 301 const PP_NetAddress_Private& addr,
298 int32_t backlog) OVERRIDE; 302 int32_t backlog) OVERRIDE;
299 virtual void TCPServerSocketAccept(uint32 real_socket_id) OVERRIDE; 303 virtual void TCPServerSocketAccept(uint32 real_socket_id) OVERRIDE;
300 virtual void TCPServerSocketStopListening(uint32 real_socket_id, 304 virtual void TCPServerSocketStopListening(uint32 real_socket_id,
301 uint32 temp_socket_id) OVERRIDE; 305 uint32 temp_socket_id) OVERRIDE;
306 virtual bool X509CertificateParseDER(
307 const std::vector<char>& der,
308 ppapi::PPB_X509Certificate_Fields* fields) OVERRIDE;
302 309
303 virtual int32_t ShowContextMenu( 310 virtual int32_t ShowContextMenu(
304 webkit::ppapi::PluginInstance* instance, 311 webkit::ppapi::PluginInstance* instance,
305 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 312 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
306 const gfx::Point& position) OVERRIDE; 313 const gfx::Point& position) OVERRIDE;
307 void OnContextMenuClosed( 314 void OnContextMenuClosed(
308 const content::CustomContextMenuContext& custom_context); 315 const content::CustomContextMenuContext& custom_context);
309 void OnCustomContextMenuAction( 316 void OnCustomContextMenuAction(
310 const content::CustomContextMenuContext& custom_context, 317 const content::CustomContextMenuContext& custom_context,
311 unsigned action); 318 unsigned action);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 354
348 // RenderViewObserver implementation. 355 // RenderViewObserver implementation.
349 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 356 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
350 virtual void OnDestruct() OVERRIDE; 357 virtual void OnDestruct() OVERRIDE;
351 358
352 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, 359 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id,
353 uint32 socket_id, 360 uint32 socket_id,
354 bool succeeded, 361 bool succeeded,
355 const PP_NetAddress_Private& local_addr, 362 const PP_NetAddress_Private& local_addr,
356 const PP_NetAddress_Private& remote_addr); 363 const PP_NetAddress_Private& remote_addr);
357 void OnTCPSocketSSLHandshakeACK(uint32 plugin_dispatcher_id, 364 void OnTCPSocketSSLHandshakeACK(
358 uint32 socket_id, 365 uint32 plugin_dispatcher_id,
359 bool succeeded); 366 uint32 socket_id,
367 bool succeeded);
360 void OnTCPSocketReadACK(uint32 plugin_dispatcher_id, 368 void OnTCPSocketReadACK(uint32 plugin_dispatcher_id,
361 uint32 socket_id, 369 uint32 socket_id,
362 bool succeeded, 370 bool succeeded,
363 const std::string& data); 371 const std::string& data);
364 void OnTCPSocketWriteACK(uint32 plugin_dispatcher_id, 372 void OnTCPSocketWriteACK(uint32 plugin_dispatcher_id,
365 uint32 socket_id, 373 uint32 socket_id,
366 bool succeeded, 374 bool succeeded,
367 int32_t bytes_written); 375 int32_t bytes_written);
368 void OnUDPSocketBindACK(uint32 plugin_dispatcher_id, 376 void OnUDPSocketBindACK(uint32 plugin_dispatcher_id,
369 uint32 socket_id, 377 uint32 socket_id,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 473
466 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 474 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
467 475
468 scoped_ptr<PepperDeviceEnumerationEventHandler> 476 scoped_ptr<PepperDeviceEnumerationEventHandler>
469 device_enumeration_event_handler_; 477 device_enumeration_event_handler_;
470 478
471 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 479 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
472 }; 480 };
473 481
474 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 482 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/pepper_tcp_socket.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698