| 335 | self.UpdateButtonsState() |
| 336 | |
| 337 | class 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 | |
| 351 | class CallbackClientHandler(object): |
| 352 | def __init__(self, onLoadStart=None, onLoadEnd=None): |