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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 // Returns true if we should apply the cross-site document blocking policy to 252 // Returns true if we should apply the cross-site document blocking policy to
253 // this renderer process. Currently, we apply the policy only to a renderer 253 // this renderer process. Currently, we apply the policy only to a renderer
254 // process running on a normal page from the web. 254 // process running on a normal page from the web.
255 virtual bool ShouldEnableSiteIsolationPolicy() const; 255 virtual bool ShouldEnableSiteIsolationPolicy() const;
256 256
257 // Creates a permission client proxy for in-renderer worker. 257 // Creates a permission client proxy for in-renderer worker.
258 virtual blink::WebWorkerPermissionClientProxy* 258 virtual blink::WebWorkerPermissionClientProxy*
259 CreateWorkerPermissionClientProxy(RenderFrame* render_frame, 259 CreateWorkerPermissionClientProxy(RenderFrame* render_frame,
260 blink::WebFrame* frame); 260 blink::WebFrame* frame);
261
262 // Returns true if the page at |url| can use Pepper Compositor APIs.
263 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url);
264
265 // Returns true if the page at |url| can use Pepper VideoDecoder APIs.
266 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url);
267
268 // Returns true if dev channel APIs are available for plugins.
269 virtual bool IsPluginAllowedToUseDevChannelAPIs();
261 }; 270 };
262 271
263 } // namespace content 272 } // namespace content
264 273
265 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 274 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« 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