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

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

Issue 10949008: Fix up instance registration with the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser tag test Created 8 years, 3 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/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 24927b181355a2775667c3f9e4af30b01916caa3..ff0341dd6b8496e0520f6698730b5767c7eb9200 100644
--- a/content/renderer/pepper/renderer_ppapi_host_impl.h
+++ b/content/renderer/pepper/renderer_ppapi_host_impl.h
@@ -61,6 +61,10 @@ class RendererPpapiHostImpl
webkit::ppapi::PluginModule* module,
const ppapi::PpapiPermissions& permissions);
+ // Returns the RendererPpapiHostImpl associated with the given PP_Instance,
+ // or NULL if the instance is invalid.
+ static RendererPpapiHostImpl* GetForPPInstance(PP_Instance pp_instance);
+
// Returns the router that we use for in-process IPC emulation (see the
// pepper_in_process_router.h for more). This will be NULL when the plugin
// is running out-of-process.
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.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