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

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

Issue 60323002: Revert 232547 "Pepper: Move FileIO host from renderer to browser." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
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 WebKit::WebPluginContainer* container);
247
242 // Returns whether BrowserPlugin should be allowed within the |container|. 248 // Returns whether BrowserPlugin should be allowed within the |container|.
243 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container); 249 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container);
244 250
245 // Returns true if the page at |url| can use Pepper MediaStream APIs. 251 // Returns true if the page at |url| can use Pepper MediaStream APIs.
246 virtual bool AllowPepperMediaStreamAPI(const GURL& url); 252 virtual bool AllowPepperMediaStreamAPI(const GURL& url);
247 253
248 // Gives the embedder a chance to register the key system(s) it supports by 254 // Gives the embedder a chance to register the key system(s) it supports by
249 // populating |key_systems|. 255 // populating |key_systems|.
250 virtual void AddKeySystems(std::vector<KeySystemInfo>* key_systems); 256 virtual void AddKeySystems(std::vector<KeySystemInfo>* key_systems);
251 257
(...skipping 11 matching lines...) Expand all
263 269
264 // Creates a permission client proxy for in-renderer worker. 270 // Creates a permission client proxy for in-renderer worker.
265 virtual WebKit::WebWorkerPermissionClientProxy* 271 virtual WebKit::WebWorkerPermissionClientProxy*
266 CreateWorkerPermissionClientProxy(RenderView* render_view, 272 CreateWorkerPermissionClientProxy(RenderView* render_view,
267 WebKit::WebFrame* frame); 273 WebKit::WebFrame* frame);
268 }; 274 };
269 275
270 } // namespace content 276 } // namespace content
271 277
272 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 278 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « trunk/src/content/content_tests.gypi ('k') | trunk/src/content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698