Skip to content
Dominique B edited this page Feb 2, 2016 · 2 revisions

ContentFilter object

See RequestHandler.OnResourceResponse().

CEF 1

void SetHandler(ContentFilterHandler handler)

The handler is 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.

Clone this wiki locally