public interface CefLoadHandler
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
CefLoadHandler.ErrorCode |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onLoadEnd(CefBrowser browser,
int frameIdentifier,
int httpStatusCode)
Called when the browser is done loading a frame.
|
void |
onLoadError(CefBrowser browser,
int frameIdentifer,
CefLoadHandler.ErrorCode errorCode,
String errorText,
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,
int frameIdentifer)
Called when the browser begins loading a frame.
|
void onLoadingStateChange(CefBrowser browser, boolean isLoading, boolean canGoBack, boolean canGoForward)
browser - The affected 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, int frameIdentifer)
browser - The affected browser.frameIdentifer - The identifier of the loading frame.void onLoadEnd(CefBrowser browser, int frameIdentifier, int httpStatusCode)
browser - The affected browser.frameIdentifer - The identifier of the loading frame.void onLoadError(CefBrowser browser, int frameIdentifer, CefLoadHandler.ErrorCode errorCode, String errorText, String failedUrl)
browser - The affected browser.frameIdentifer - The identifier of the loading frame.errorCode - The error code number.errorText - The error text.failedUrl - The URL that failed to load.Copyright © 2017. All rights reserved.