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

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

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
« no previous file with comments | « content/renderer/pepper/mock_plugin_delegate.h ('k') | content/renderer/pepper/pepper_broker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/mock_plugin_delegate.cc
===================================================================
--- content/renderer/pepper/mock_plugin_delegate.cc (revision 214295)
+++ content/renderer/pepper/mock_plugin_delegate.cc (working copy)
@@ -1,81 +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.
-
-#include "content/renderer/pepper/mock_plugin_delegate.h"
-
-#include "base/logging.h"
-#include "base/message_loop/message_loop_proxy.h"
-#include "content/renderer/pepper/pepper_plugin_instance_impl.h"
-#include "content/renderer/pepper/plugin_delegate.h"
-#include "content/renderer/pepper/plugin_module.h"
-#include "ppapi/c/pp_errors.h"
-#include "ppapi/shared_impl/ppapi_permissions.h"
-#include "ppapi/shared_impl/ppapi_preferences.h"
-#include "third_party/WebKit/public/platform/WebGamepads.h"
-
-namespace content {
-
-MockPluginDelegate::MockPluginDelegate() {
-}
-
-MockPluginDelegate::~MockPluginDelegate() {
-}
-
-void MockPluginDelegate::PluginFocusChanged(PepperPluginInstanceImpl* instance,
- bool focused) {
-}
-
-void MockPluginDelegate::PluginTextInputTypeChanged(
- PepperPluginInstanceImpl* instance) {
-}
-
-void MockPluginDelegate::PluginCaretPositionChanged(
- PepperPluginInstanceImpl* instance) {
-}
-
-void MockPluginDelegate::PluginRequestedCancelComposition(
- PepperPluginInstanceImpl* instance) {
-}
-
-void MockPluginDelegate::PluginSelectionChanged(
- PepperPluginInstanceImpl* instance) {
-}
-
-void MockPluginDelegate::InstanceCreated(PepperPluginInstanceImpl* instance) {
-}
-
-void MockPluginDelegate::InstanceDeleted(PepperPluginInstanceImpl* instance) {
-}
-
-bool MockPluginDelegate::AsyncOpenFile(const base::FilePath& path,
- int flags,
- const AsyncOpenFileCallback& callback) {
- return false;
-}
-
-scoped_refptr<base::MessageLoopProxy>
-MockPluginDelegate::GetFileThreadMessageLoopProxy() {
- return scoped_refptr<base::MessageLoopProxy>();
-}
-
-void MockPluginDelegate::SampleGamepads(WebKit::WebGamepads* data) {
- data->length = 0;
-}
-
-void MockPluginDelegate::HandleDocumentLoad(
- PepperPluginInstanceImpl* instance,
- const WebKit::WebURLResponse& response) {
-}
-
-RendererPpapiHost* MockPluginDelegate::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) {
- return NULL;
-}
-
-} // namespace content
« no previous file with comments | « content/renderer/pepper/mock_plugin_delegate.h ('k') | content/renderer/pepper/pepper_broker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698