ContentFilter - rentouch/cefpython GitHub Wiki
ContentFilter object
See RequestHandler.OnResourceResponse().
CEF 1
void SetHandler(ContentFilterHandler handler)
The
handleris a python class that implements one or all of the ContentFilterHandler callbacks.
You must keep a strong reference to the ContentFilterHandler object, otherwise it gets destroyed and callbacks won't get called, CEF Python keeps only a weak reference to the ContentFilterHandler object.