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

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

Issue 11366038: Rewrite PPB_AudioInput_Dev to use the new-style host/resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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/renderer_ppapi_host_impl.h
diff --git a/content/renderer/pepper/renderer_ppapi_host_impl.h b/content/renderer/pepper/renderer_ppapi_host_impl.h
index 3625de2bb400ea0e90c3f116f9ce084dd9d10c30..ef1b48793676d30aa9a3eafd50c88a9c157114c2 100644
--- a/content/renderer/pepper/renderer_ppapi_host_impl.h
+++ b/content/renderer/pepper/renderer_ppapi_host_impl.h
@@ -84,11 +84,16 @@ class RendererPpapiHostImpl
// RendererPpapiHost.
virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE;
virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE;
+ virtual webkit::ppapi::PluginInstance* GetPluginInstance(
+ PP_Instance instance) const OVERRIDE;
virtual RenderView* GetRenderViewForInstance(
PP_Instance instance) const OVERRIDE;
virtual WebKit::WebPluginContainer* GetContainerForInstance(
PP_Instance instance) const OVERRIDE;
virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE;
+ virtual IPC::PlatformFileForTransit ShareHandleWithRemote(
+ base::PlatformFile handle,
+ bool should_close_source) OVERRIDE;
private:
RendererPpapiHostImpl(webkit::ppapi::PluginModule* module,
@@ -108,6 +113,8 @@ class RendererPpapiHostImpl
webkit::ppapi::PluginModule* module_; // Non-owning pointer.
+ ppapi::proxy::HostDispatcher* dispatcher_; // Non-owning pointer.
+
scoped_ptr<ppapi::host::PpapiHost> ppapi_host_;
// Null when running out-of-process.
« no previous file with comments | « content/renderer/pepper/pepper_audio_input_host.cc ('k') | content/renderer/pepper/renderer_ppapi_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698