public interface CefLoadHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
CefLoadHandler.ErrorCode |
| Modifier and Type | Method and Description |
|---|---|
void |
onLoadEnd(CefBrowser browser,
CefFrame frame,
int httpStatusCode)
Called when the browser is done loading a frame.
|
void |
onLoadError(CefBrowser browser,
CefFrame frame,
CefLoadHandler.ErrorCode errorCode,
java.lang.String errorText,
java.lang.String failedUrl)
Called when the resource load for a navigation fails or is canceled.
|
void |
onLoadingStateChange(CefBrowser browser,
boolean isLoading,
boolean canGoBack,
boolean canGoForward)
Called when the loading state has changed.
|
void |
onLoadStart(CefBrowser browser,
CefFrame frame,
CefRequest.TransitionType transitionType)
Called when the browser begins loading a frame.
|
void onLoadEnd(CefBrowser browser, CefFrame frame, int httpStatusCode)
browser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.httpStatusCode - The status code of the load.void onLoadError(CefBrowser browser, CefFrame frame, CefLoadHandler.ErrorCode errorCode, java.lang.String errorText, java.lang.String failedUrl)
browser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.errorCode - The error code number.errorText - The error text.failedUrl - The URL that failed to load.void onLoadingStateChange(CefBrowser browser, boolean isLoading, boolean canGoBack, boolean canGoForward)
browser - The corresponding browser.isLoading - true if it is loading.canGoBack - true if you can navigate back.canGoForward - true if you can navigate forward.void onLoadStart(CefBrowser browser, CefFrame frame, CefRequest.TransitionType transitionType)
browser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.transitionType - The transition type.