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

Unified Diff: content/renderer/pepper/ppapi_unittest.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
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | content/renderer/pepper/ppapi_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppapi_unittest.h
===================================================================
--- content/renderer/pepper/ppapi_unittest.h (revision 214295)
+++ content/renderer/pepper/ppapi_unittest.h (working copy)
@@ -8,7 +8,6 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "content/renderer/pepper/plugin_delegate.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
@@ -17,7 +16,6 @@
namespace content {
-class MockPluginDelegate;
class PepperPluginInstanceImpl;
class PluginModule;
@@ -29,7 +27,6 @@
virtual void SetUp();
virtual void TearDown();
- MockPluginDelegate* delegate() { return delegate_.get(); }
PluginModule* module() const { return module_.get(); }
PepperPluginInstanceImpl* instance() const { return instance_.get(); }
@@ -44,8 +41,6 @@
void SetViewSize(int width, int height) const;
private:
- scoped_ptr<MockPluginDelegate> delegate_;
-
// Note: module must be declared first since we want it to get destroyed last.
scoped_refptr<PluginModule> module_;
scoped_refptr<PepperPluginInstanceImpl> instance_;
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | content/renderer/pepper/ppapi_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698