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

Side by Side Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 9836131: Remove PPB_Flash_NetConnector and ENABLE_FLAPPER_HACKS. (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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 namespace webkit { 81 namespace webkit {
82 namespace ppapi { 82 namespace ppapi {
83 83
84 class FileIO; 84 class FileIO;
85 class FullscreenContainer; 85 class FullscreenContainer;
86 class PepperFilePath; 86 class PepperFilePath;
87 class PluginInstance; 87 class PluginInstance;
88 class PluginModule; 88 class PluginModule;
89 class PPB_Broker_Impl; 89 class PPB_Broker_Impl;
90 class PPB_Flash_Menu_Impl; 90 class PPB_Flash_Menu_Impl;
91 class PPB_Flash_NetConnector_Impl;
92 class PPB_TCPSocket_Private_Impl; 91 class PPB_TCPSocket_Private_Impl;
93 class PPB_UDPSocket_Private_Impl; 92 class PPB_UDPSocket_Private_Impl;
94 93
95 // Virtual interface that the browser implements to implement features for 94 // Virtual interface that the browser implements to implement features for
96 // PPAPI plugins. 95 // PPAPI plugins.
97 class PluginDelegate { 96 class PluginDelegate {
98 public: 97 public:
99 // This interface is used for the PluginModule to tell the code in charge of 98 // This interface is used for the PluginModule to tell the code in charge of
100 // re-using modules which modules currently exist. 99 // re-using modules which modules currently exist.
101 // 100 //
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 451
453 // Synchronously returns the platform file path for a filesystem URL. 452 // Synchronously returns the platform file path for a filesystem URL.
454 virtual void SyncGetFileSystemPlatformPath(const GURL& url, 453 virtual void SyncGetFileSystemPlatformPath(const GURL& url,
455 FilePath* platform_path) = 0; 454 FilePath* platform_path) = 0;
456 455
457 // Returns a MessageLoopProxy instance associated with the message loop 456 // Returns a MessageLoopProxy instance associated with the message loop
458 // of the file thread in this renderer. 457 // of the file thread in this renderer.
459 virtual scoped_refptr<base::MessageLoopProxy> 458 virtual scoped_refptr<base::MessageLoopProxy>
460 GetFileThreadMessageLoopProxy() = 0; 459 GetFileThreadMessageLoopProxy() = 0;
461 460
462 virtual int32_t ConnectTcp(
463 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
464 const char* host,
465 uint16_t port) = 0;
466 virtual int32_t ConnectTcpAddress(
467 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
468 const PP_NetAddress_Private* addr) = 0;
469
470 // For PPB_TCPSocket_Private. 461 // For PPB_TCPSocket_Private.
471 virtual uint32 TCPSocketCreate() = 0; 462 virtual uint32 TCPSocketCreate() = 0;
472 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, 463 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket,
473 uint32 socket_id, 464 uint32 socket_id,
474 const std::string& host, 465 const std::string& host,
475 uint16_t port) = 0; 466 uint16_t port) = 0;
476 virtual void TCPSocketConnectWithNetAddress( 467 virtual void TCPSocketConnectWithNetAddress(
477 PPB_TCPSocket_Private_Impl* socket, 468 PPB_TCPSocket_Private_Impl* socket,
478 uint32 socket_id, 469 uint32 socket_id,
479 const PP_NetAddress_Private& addr) = 0; 470 const PP_NetAddress_Private& addr) = 0;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 const EnumerateDevicesCallback& callback) = 0; 613 const EnumerateDevicesCallback& callback) = 0;
623 // Create a ClipboardClient for writing to the clipboard. The caller will own 614 // Create a ClipboardClient for writing to the clipboard. The caller will own
624 // the pointer to this. 615 // the pointer to this.
625 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 616 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
626 }; 617 };
627 618
628 } // namespace ppapi 619 } // namespace ppapi
629 } // namespace webkit 620 } // namespace webkit
630 621
631 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 622 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698