Example usage for Java android.webkit WebChromeClient fields, constructors, methods, implement or subclass
The text is from its open source code.
Bitmap | getDefaultVideoPoster() When not playing, video elements are represented by a 'poster' image. |
View | getVideoLoadingProgressView() Obtains a View to be displayed while buffering of full screen video is taking place. |
void | getVisitedHistory(ValueCallback Obtains a list of all visited history items, used for link coloring |
void | onCloseWindow(WebView window) Notify the host application to close the given WebView and remove it from the view system if necessary. |
boolean | onConsoleMessage(ConsoleMessage consoleMessage) Report a JavaScript console message to the host application. |
boolean | onCreateWindow(WebView view, boolean isDialog, boolean isUserGesture, Message resultMsg) Request the host application to create a new window. |
void | onExceededDatabaseQuota(String url, String databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, WebStorage.QuotaUpdater quotaUpdater) Tell the client that the quota has been exceeded for the Web SQL Database API for a particular origin and request a new quota. |
void | onGeolocationPermissionsHidePrompt() Notify the host application that a request for Geolocation permissions, made with a previous call to #onGeolocationPermissionsShowPrompt(String,GeolocationPermissions.Callback) onGeolocationPermissionsShowPrompt() has been canceled. |
void | onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback) Notify the host application that web content from the specified origin is attempting to use the Geolocation API, but no permission state is currently set for that origin. |
void | onHideCustomView() Notify the host application that the current page has exited full screen mode. |
boolean | onJsAlert(WebView view, String url, String message, JsResult result) Tell the client to display a javascript alert dialog. |
boolean | onJsBeforeUnload(WebView view, String url, String message, JsResult result) Tell the client to display a dialog to confirm navigation away from the current page. |
boolean | onJsConfirm(WebView view, String url, String message, JsResult result) Tell the client to display a confirm dialog to the user. |
boolean | onJsTimeout() Tell the client that a JavaScript execution timeout has occured. |
void | onProgressChanged(WebView view, int newProgress) Tell the host application the current progress of loading a page. |
void | onReachedMaxAppCacheSize(long requiredStorage, long quota, WebStorage.QuotaUpdater quotaUpdater) Notify the host application that the Application Cache has reached the maximum size. |
void | onReceivedIcon(WebView view, Bitmap icon) Notify the host application of a new favicon for the current page. |
void | onReceivedTitle(WebView view, String title) Notify the host application of a change in the document title. |
void | onReceivedTouchIconUrl(WebView view, String url, boolean precomposed) Notify the host application of the url for an apple-touch-icon. |
void | onRequestFocus(WebView view) Request display and focus for this WebView. |
void | onShowCustomView(View view, CustomViewCallback callback) Notify the host application that the current page has entered full screen mode. |