ttm / cefpython

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

Patch providing CEF3 OnBeforeBrowse() support #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've attached a patch to add OnBeforeBrowse() support to cefpython CEF3.

Includes an example callback in wxpython.py demo app.

Thanks for the pointers on where to modify, Czarek.

Original issue reported on code.google.com by gregfarr...@gmail.com on 13 Nov 2013 at 1:09

Attachments:

GoogleCodeExporter commented 9 years ago
Patch looks good. Thanks.

Original comment by czarek.t...@gmail.com on 13 Nov 2013 at 1:58

GoogleCodeExporter commented 9 years ago
Commited as revision 893f4659f8e5. Thank you for the patch.

Updated the RequestHandler and Changelog3 wiki pages.

If there are redirects during loading url, OnBeforeBrowse might be called 
multiple times. But there is a bug and request.GetUrl() continouosly reports 
same url. Issue reported on the CEF C++ Forum:

http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=11290

Original comment by czarek.t...@gmail.com on 17 Dec 2013 at 5:12