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

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

Issue 20987009: Rename PepperPluginDelegateImpl to PepperHelperImpl after getting rid of the PluginDelegate interfa… (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/pepper_plugin_instance_impl.h
===================================================================
--- content/renderer/pepper/pepper_plugin_instance_impl.h (revision 214411)
+++ content/renderer/pepper/pepper_plugin_instance_impl.h (working copy)
@@ -99,7 +99,7 @@
class FullscreenContainer;
class MessageChannel;
class PepperGraphics2DHost;
-class PepperPluginDelegateImpl;
+class PepperHelperImpl;
class PluginModule;
class PluginObject;
class PPB_Graphics3D_Impl;
@@ -122,12 +122,12 @@
// get_plugin_interface function. If the plugin does not support any valid
// PPP_Instance interface, returns NULL.
static PepperPluginInstanceImpl* Create(
- PepperPluginDelegateImpl* delegate,
+ PepperHelperImpl* helper,
RenderViewImpl* render_view,
PluginModule* module,
WebKit::WebPluginContainer* container,
const GURL& plugin_url);
- PepperPluginDelegateImpl* delegate() const { return delegate_; }
+ PepperHelperImpl* helper() const { return helper_; }
RenderViewImpl* render_view() const { return render_view_; }
PluginModule* module() const { return module_.get(); }
MessageChannel& message_channel() { return *message_channel_; }
@@ -540,21 +540,21 @@
class GamepadImpl : public ::ppapi::thunk::PPB_Gamepad_API,
public ::ppapi::Resource {
public:
- explicit GamepadImpl(PepperPluginDelegateImpl* delegate);
+ explicit GamepadImpl(PepperHelperImpl* helper);
// Resource implementation.
virtual ::ppapi::thunk::PPB_Gamepad_API* AsPPB_Gamepad_API() OVERRIDE;
virtual void Sample(PP_Instance instance,
PP_GamepadsSampleData* data) OVERRIDE;
private:
virtual ~GamepadImpl();
- PepperPluginDelegateImpl* delegate_;
+ PepperHelperImpl* helper_;
};
// See the static Create functions above for creating PepperPluginInstanceImpl
// objects. This constructor is private so that we can hide the
// PPP_Instance_Combined details while still having 1 constructor to maintain
// for member initialization.
- PepperPluginInstanceImpl(PepperPluginDelegateImpl* delegate,
+ PepperPluginInstanceImpl(PepperHelperImpl* helper,
RenderViewImpl* render_view,
PluginModule* module,
::ppapi::PPP_Instance_Combined* instance_interface,
@@ -646,7 +646,7 @@
MouseLockDispatcher::LockTarget* GetOrCreateLockTargetAdapter();
void UnSetAndDeleteLockTargetAdapter();
- PepperPluginDelegateImpl* delegate_;
+ PepperHelperImpl* helper_;
RenderViewImpl* render_view_;
scoped_refptr<PluginModule> module_;
scoped_ptr< ::ppapi::PPP_Instance_Combined> instance_interface_;
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698