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

Unified Diff: content/public/renderer/renderer_ppapi_host.h

Issue 10944005: Pepper WebSocket API: Implement new design Chrome IPC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (not for review: fix win build) Created 8 years, 2 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/public/renderer/renderer_ppapi_host.h
diff --git a/content/public/renderer/renderer_ppapi_host.h b/content/public/renderer/renderer_ppapi_host.h
index 8fda76982f07f6c5106275496178ab10286253f6..40e455e382329efe6dcba7206f03d26c01b77a82 100644
--- a/content/public/renderer/renderer_ppapi_host.h
+++ b/content/public/renderer/renderer_ppapi_host.h
@@ -13,6 +13,10 @@ class PpapiHost;
}
}
+namespace WebKit {
+class WebPluginContainer;
+}
+
namespace content {
class RenderView;
@@ -34,6 +38,11 @@ class RendererPpapiHost {
// instance is invalid.
virtual RenderView* GetRenderViewForInstance(PP_Instance instance) const = 0;
+ // Returns teh WebPluginContainer for the given plugin instance, or NULL if
+ // the instance is invalid.
+ virtual WebKit::WebPluginContainer* GetContainerForInstance(
+ PP_Instance instance) const = 0;
+
// Returns true if the given instance is considered to be currently
// processing a user gesture or the plugin module has the "override user
// gesture" flag set (in which case it can always do things normally

Powered by Google App Engine
This is Rietveld 408576698