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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 33053002: Pepper: Move FileIO host from renderer to browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 const std::string& value); 232 const std::string& value);
233 233
234 // Allows an embedder to return custom PPAPI interfaces. 234 // Allows an embedder to return custom PPAPI interfaces.
235 virtual const void* CreatePPAPIInterface( 235 virtual const void* CreatePPAPIInterface(
236 const std::string& interface_name); 236 const std::string& interface_name);
237 237
238 // Returns true if the given Pepper plugin is external (requiring special 238 // Returns true if the given Pepper plugin is external (requiring special
239 // startup steps). 239 // startup steps).
240 virtual bool IsExternalPepperPlugin(const std::string& module_name); 240 virtual bool IsExternalPepperPlugin(const std::string& module_name);
241 241
242 // Returns true if plugin living in the container can use
243 // pp::FileIO::RequestOSFileHandle.
244 // TODO(teravest): Remove this when FileIO is moved to the browser.
245 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
246 blink::WebPluginContainer* container);
247
248 // Returns whether BrowserPlugin should be allowed within the |container|. 242 // Returns whether BrowserPlugin should be allowed within the |container|.
249 virtual bool AllowBrowserPlugin(blink::WebPluginContainer* container); 243 virtual bool AllowBrowserPlugin(blink::WebPluginContainer* container);
250 244
251 // Returns true if the page at |url| can use Pepper MediaStream APIs. 245 // Returns true if the page at |url| can use Pepper MediaStream APIs.
252 virtual bool AllowPepperMediaStreamAPI(const GURL& url); 246 virtual bool AllowPepperMediaStreamAPI(const GURL& url);
253 247
254 // Gives the embedder a chance to register the key system(s) it supports by 248 // Gives the embedder a chance to register the key system(s) it supports by
255 // populating |key_systems|. 249 // populating |key_systems|.
256 virtual void AddKeySystems(std::vector<KeySystemInfo>* key_systems); 250 virtual void AddKeySystems(std::vector<KeySystemInfo>* key_systems);
257 251
(...skipping 11 matching lines...) Expand all
269 263
270 // Creates a permission client proxy for in-renderer worker. 264 // Creates a permission client proxy for in-renderer worker.
271 virtual blink::WebWorkerPermissionClientProxy* 265 virtual blink::WebWorkerPermissionClientProxy*
272 CreateWorkerPermissionClientProxy(RenderView* render_view, 266 CreateWorkerPermissionClientProxy(RenderView* render_view,
273 blink::WebFrame* frame); 267 blink::WebFrame* frame);
274 }; 268 };
275 269
276 } // namespace content 270 } // namespace content
277 271
278 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 272 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698