java.lang.Object | ||
android.webkit.WebChromeClient |
WebChromeClient() |
void | onCloseWindow(WebView window) | |||||
Notify the host application to close the given WebView and remove it from the view system if necessary. | ||||||
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 | onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) | |||||
Tell the client to display a prompt dialog to the user. | ||||||
void | onProgressChanged(WebView view, int newProgress) | |||||
Tell the host application the current progress of loading a page. | ||||||
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 | onRequestFocus(WebView view) | |||||
Request display and focus for this WebView. | ||||||
WebView | shouldCreateWindow(WebView view, boolean dialog) | |||||
Request the host application to create a new Webview. |
window | The WebView that needs to be closed. |
---|
view | The WebView that initiated the callback. |
---|---|
url | The url of the page requesting the dialog. |
message | Message to be displayed in the window. |
result | A JsResult to confirm that the user hit enter. |
view | The WebView that initiated the callback. |
---|---|
url | The url of the page requesting the dialog. |
message | Message to be displayed in the window. |
result | A JsResult used to send the user's response to javascript. |
view | The WebView that initiated the callback. |
---|---|
url | The url of the page requesting the dialog. |
message | Message to be displayed in the window. |
result | A JsResult used to send the user's response to javascript. |
view | The WebView that initiated the callback. |
---|---|
url | The url of the page requesting the dialog. |
message | Message to be displayed in the window. |
defaultValue | The default value displayed in the prompt dialog. |
result | A JsPromptResult used to send the user's reponse to javascript. |
view | The WebView that initiated the callback. |
---|---|
newProgress | Current page loading progress, represented by an integer between 0 and 100. |
view | The WebView that initiated the callback. |
---|---|
icon | A Bitmap containing the favicon for the current page. |
view | The WebView that initiated the callback. |
---|---|
title | A String containing the new title of the document. |
view | The WebView that needs to be focused. |
---|
view | The WebView that initiated the callback. |
---|---|
dialog | True if the new window is meant to be a small dialog window. |
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:56 |