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

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

Issue 346263006: Pepper: Narrow dev channel whitelisting behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index ca600396daa8de5ebed1bbbcaa50368cde1f61c1..ada672f46ecc109e9fa3f853426a8420e8d0f26a 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -258,6 +258,15 @@ class CONTENT_EXPORT ContentRendererClient {
virtual blink::WebWorkerPermissionClientProxy*
CreateWorkerPermissionClientProxy(RenderFrame* render_frame,
blink::WebFrame* frame);
+
+ // Returns true if the page at |url| can use Pepper Compositor APIs.
+ virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url);
+
+ // Returns true if the page at |url| can use Pepper VideoDecoder APIs.
+ virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url);
+
+ // Returns true if dev channel APIs are available for plugins.
+ virtual bool IsPluginAllowedToUseDevChannelAPIs();
};
} // namespace content
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698