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

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

Issue 11419131: Refactor FileIO to the new design (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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/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 c41757b36107b5527dd994c8804759b7759e114c..1f573eb510ec3b170217c5fcab4f38dc8242f04a 100644
--- a/content/public/renderer/renderer_ppapi_host.h
+++ b/content/public/renderer/renderer_ppapi_host.h
@@ -40,6 +40,7 @@ class WebPluginContainer;
namespace webkit {
namespace ppapi {
+class PluginDelegate;
class PluginInstance;
class PluginModule;
}
@@ -80,6 +81,11 @@ class RendererPpapiHost {
virtual webkit::ppapi::PluginInstance* GetPluginInstance(
PP_Instance instance) const = 0;
+ // Returns the PluginDelegate for the given plugin instance, or NULL if the
raymes 2012/11/26 22:30:54 I would change "plugin instance" -> "PP_Instance"
victorhsieh 2012/11/27 09:44:42 Deleted
+ // instance is invalid.
+ virtual webkit::ppapi::PluginDelegate* GetDelegateForInstance(
raymes 2012/11/27 06:54:28 The plugin delegate shouldn't be needed for new-st
victorhsieh 2012/11/27 09:44:42 Done.
+ 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;
@@ -126,4 +132,3 @@ class RendererPpapiHost {
} // namespace content
#endif // CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_
-

Powered by Google App Engine
This is Rietveld 408576698