RuidSiel / chromiumembedded

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

Pass browser to CefSchemeHandlerFactory::Create #362

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be helpful if the browser initiating the request could be passed to 
the CefSchemeHandlerFactory::Create() method.

Original issue reported on code.google.com by magreenb...@gmail.com on 4 Oct 2011 at 2:04

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 4 Oct 2011 at 2:19

GoogleCodeExporter commented 9 years ago
Fixed in revision 305.

Original comment by magreenb...@gmail.com on 7 Oct 2011 at 10:13

GoogleCodeExporter commented 9 years ago
Sorry, for may be fool question. In which situations it can be helpful?

In C API cef_browser_t instance it is a temporary wrapper, so same happens in 
C++ API. Any 'proxy' object (created from CEF) doesn't provide way to get real 
identity of object. It is true for browser, for frames and all other objects. 
Using window handle for getting identity looks good only for browser and only 
when window rendering enabled.

Original comment by fdd...@gmail.com on 7 Oct 2011 at 2:31