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

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

Issue 21219002: Remove PluginDelegate completely. In a followup I'll rename PepperPluginDelegateImpl to something c… (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 214295)
+++ content/renderer/pepper/mock_plugin_delegate.h (working copy)
@@ -1,54 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_PEPPER_MOCK_PLUGIN_DELEGATE_H_
-#define CONTENT_RENDERER_PEPPER_MOCK_PLUGIN_DELEGATE_H_
-
-#include "content/renderer/pepper/plugin_delegate.h"
-
-struct PP_NetAddress_Private;
-namespace ppapi { class PPB_X509Certificate_Fields; }
-
-namespace content {
-
-class MockPluginDelegate : public PluginDelegate {
- public:
- MockPluginDelegate();
- virtual ~MockPluginDelegate();
-
- virtual void PluginFocusChanged(PepperPluginInstanceImpl* instance,
- bool focused) OVERRIDE;
- virtual void PluginTextInputTypeChanged(
- PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual void PluginCaretPositionChanged(
- PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual void PluginRequestedCancelComposition(
- PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual void PluginSelectionChanged(
- PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual void InstanceCreated(PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual void InstanceDeleted(PepperPluginInstanceImpl* instance) OVERRIDE;
- virtual bool AsyncOpenFile(const base::FilePath& path,
- int flags,
- const AsyncOpenFileCallback& callback) OVERRIDE;
- virtual scoped_refptr<base::MessageLoopProxy>
- GetFileThreadMessageLoopProxy() OVERRIDE;
-
- // Add/remove a network list observer.
- virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
- virtual void HandleDocumentLoad(
- PepperPluginInstanceImpl* instance,
- const WebKit::WebURLResponse& response) OVERRIDE;
- virtual RendererPpapiHost* CreateExternalPluginModule(
- scoped_refptr<PluginModule> module,
- const base::FilePath& path,
- ::ppapi::PpapiPermissions permissions,
- const IPC::ChannelHandle& channel_handle,
- base::ProcessId plugin_pid,
- int plugin_child_id) OVERRIDE;
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_PEPPER_MOCK_PLUGIN_DELEGATE_H_
« no previous file with comments | « content/renderer/pepper/host_var_tracker_unittest.cc ('k') | content/renderer/pepper/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698