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

Unified Diff: content/renderer/pepper/mock_plugin_delegate.h

Issue 21192002: Remove more methods from PluginDelegate. Some I moved the implementationto the callers. For others,… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/mock_plugin_delegate.h
===================================================================
--- content/renderer/pepper/mock_plugin_delegate.h (revision 214249)
+++ content/renderer/pepper/mock_plugin_delegate.h (working copy)
@@ -27,7 +27,6 @@
PepperPluginInstanceImpl* instance) OVERRIDE;
virtual void PluginSelectionChanged(
PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual void PluginCrashed(PepperPluginInstanceImpl* instance) OVERRIDE;
virtual void InstanceCreated(PepperPluginInstanceImpl* instance) OVERRIDE;
virtual void InstanceDeleted(PepperPluginInstanceImpl* instance) OVERRIDE;
virtual bool AsyncOpenFile(const base::FilePath& path,
@@ -35,45 +34,8 @@
const AsyncOpenFileCallback& callback) OVERRIDE;
virtual scoped_refptr<base::MessageLoopProxy>
GetFileThreadMessageLoopProxy() OVERRIDE;
- virtual uint32 TCPSocketCreate() OVERRIDE;
- virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket,
- uint32 socket_id,
- const std::string& host,
- uint16_t port) OVERRIDE;
- virtual void TCPSocketConnectWithNetAddress(
- PPB_TCPSocket_Private_Impl* socket,
- uint32 socket_id,
- const PP_NetAddress_Private& addr) OVERRIDE;
- virtual void TCPSocketSSLHandshake(
- uint32 socket_id,
- const std::string& server_name,
- uint16_t server_port,
- const std::vector<std::vector<char> >& trusted_certs,
- const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE;
- virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE;
- virtual void TCPSocketWrite(uint32 socket_id,
- const std::string& buffer) OVERRIDE;
- virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE;
- virtual void TCPSocketSetOption(
- uint32 socket_id,
- PP_TCPSocket_Option name,
- const ::ppapi::SocketOptionData& value) OVERRIDE;
- virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
- uint32 socket_id) OVERRIDE;
- virtual void TCPServerSocketListen(PP_Resource socket_resource,
- const PP_NetAddress_Private& addr,
- int32_t backlog) OVERRIDE;
- virtual void TCPServerSocketAccept(uint32 server_socket_id) OVERRIDE;
- virtual void TCPServerSocketStopListening(PP_Resource socket_resource,
- uint32 socket_id) OVERRIDE;
+
// Add/remove a network list observer.
- virtual bool LockMouse(PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual void UnlockMouse(PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual bool IsMouseLocked(PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual void DidChangeCursor(PepperPluginInstanceImpl* instance,
- const WebKit::WebCursorInfo& cursor) OVERRIDE;
- virtual void DidReceiveMouseEvent(
- PepperPluginInstanceImpl* instance) OVERRIDE;
virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
virtual void HandleDocumentLoad(
PepperPluginInstanceImpl* instance,

Powered by Google App Engine
This is Rietveld 408576698