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

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

Issue 100943002: Convert PepperBrowserConnection to be a RenderFrameObserver. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fixes Created 7 years 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 | « no previous file | content/renderer/pepper/mock_renderer_ppapi_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/renderer_ppapi_host.h
===================================================================
--- content/public/renderer/renderer_ppapi_host.h (revision 238258)
+++ content/public/renderer/renderer_ppapi_host.h (working copy)
@@ -40,6 +40,7 @@
namespace content {
class PepperPluginInstance;
+class RenderFrame;
class RenderView;
// Interface that allows components in the embedder app to talk to the
@@ -71,6 +72,11 @@
virtual PepperPluginInstance* GetPluginInstance(
PP_Instance instance) const = 0;
+ // Returns the RenderFrame for the given plugin instance, or NULL if the
+ // instance is invalid.
+ virtual RenderFrame* GetRenderFrameForInstance(
+ PP_Instance instance) const = 0;
+
// Returns the RenderView for the given plugin instance, or NULL if the
// instance is invalid.
virtual RenderView* GetRenderViewForInstance(PP_Instance instance) const = 0;
« no previous file with comments | « no previous file | content/renderer/pepper/mock_renderer_ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698