zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Allow to specify paths for pepper plugins #1255

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
content::ContentClient has a function called AddPepperPlugins to allow 
registering of pepper plugins. Cef3 should have an api to specify a path to 
pepper plugin/s and then load the plugins in content_client.cc like 
pepper_plugin_list.cc does from the command line.

  virtual void AddPepperPlugins(
      std::vector<content::PepperPluginInfo>* plugins) {}

Original issue reported on code.google.com by mchand...@lindenlab.com on 22 Apr 2014 at 11:55

GoogleCodeExporter commented 9 years ago
Plugins can already be specified via the command-line, see 
http://magpcss.org/ceforum/viewtopic.php?f=10&t=10509. Is there some reason 
this isn't sufficient for your purposes?

Original comment by magreenb...@gmail.com on 23 Apr 2014 at 9:13

GoogleCodeExporter commented 9 years ago
It would be nicer to do this via code as the use case is a wrapper for an app 
(Desura) which doesnt know of what browser its loading. I guess i could use the 
callback to change the command line and do it there.

Original comment by mchand...@lindenlab.com on 23 Apr 2014 at 9:33

GoogleCodeExporter commented 9 years ago
@comment#2: Right, you can use OnBeforeCommandLineProcessing. Marking this 
issue as WontFix. We can re-visit if there's some use case that is not 
satisfied by the command-line options.

Original comment by magreenb...@gmail.com on 23 Apr 2014 at 9:35