MCPcopy Create free account
hub / github.com/cztomczak/cefpython / DefaultClientHandler

Class DefaultClientHandler

src/cefpython3.wx/chromectrl.py:337–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335 self.UpdateButtonsState()
336
337class DefaultClientHandler(object):
338 def __init__(self, parentCtrl):
339 self.parentCtrl = parentCtrl
340
341 def OnLoadStart(self, browser, frame):
342 self.parentCtrl.OnLoadStart(browser, frame)
343
344 def OnLoadEnd(self, browser, frame, httpStatusCode):
345 self.parentCtrl.OnLoadEnd(browser, frame, httpStatusCode)
346
347 def OnLoadError(self, browser, frame, errorCode, errorText, failedUrl):
348 # TODO
349 Debug("ERROR LOADING URL : %s" % failedUrl)
350
351class CallbackClientHandler(object):
352 def __init__(self, onLoadStart=None, onLoadEnd=None):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected