public void onReceivedSslError( WebView webView, SslErrorHandler sslErrorHandler, SslError sslError) { if (this.mCallBack != null) { this.mCallBack.onReceivedSslErrorCallBack(webView, sslErrorHandler, sslError); } super.onReceivedSslError(webView, sslErrorHandler, sslError); }
public void onPageStarted(WebView webView, String str, Bitmap bitmap) { if (this.mCallBack != null) { this.mCallBack.onPageStartedCallBack(webView, str, bitmap); } if (!str.startsWith(this.mAuthRequestParam.getAuthInfo().getRedirectUrl()) || this.isCallBacked) { super.onPageStarted(webView, str, bitmap); return; } this.isCallBacked = true; handleRedirectUrl(str); webView.stopLoading(); WeiboSdkBrowser.closeBrowser(this.mAct, this.mAuthRequestParam.getAuthListenerKey(), null); }
public void onReceivedError(WebView webView, int i, String str, String str2) { if (this.mCallBack != null) { this.mCallBack.onReceivedErrorCallBack(webView, i, str, str2); } super.onReceivedError(webView, i, str, str2); }
public void onPageFinished(WebView webView, String str) { if (this.mCallBack != null) { this.mCallBack.onPageFinishedCallBack(webView, str); } super.onPageFinished(webView, str); }