public class SystemWebChromeClient
extends android.webkit.WebChromeClient
Modifier and Type | Field and Description |
---|---|
protected SystemWebViewEngine |
parentEngine |
Constructor and Description |
---|
SystemWebChromeClient(SystemWebViewEngine parentEngine) |
Modifier and Type | Method and Description |
---|---|
void |
destroyLastDialog() |
android.view.View |
getVideoLoadingProgressView() |
boolean |
onConsoleMessage(android.webkit.ConsoleMessage consoleMessage) |
void |
onConsoleMessage(java.lang.String message,
int lineNumber,
java.lang.String sourceID) |
void |
onExceededDatabaseQuota(java.lang.String url,
java.lang.String databaseIdentifier,
long currentQuota,
long estimatedSize,
long totalUsedQuota,
android.webkit.WebStorage.QuotaUpdater quotaUpdater)
Handle database quota exceeded notification.
|
void |
onGeolocationPermissionsShowPrompt(java.lang.String origin,
android.webkit.GeolocationPermissions.Callback callback) |
void |
onHideCustomView() |
boolean |
onJsAlert(android.webkit.WebView view,
java.lang.String url,
java.lang.String message,
android.webkit.JsResult result)
Tell the client to display a javascript alert dialog.
|
boolean |
onJsConfirm(android.webkit.WebView view,
java.lang.String url,
java.lang.String message,
android.webkit.JsResult result)
Tell the client to display a confirm dialog to the user.
|
boolean |
onJsPrompt(android.webkit.WebView view,
java.lang.String origin,
java.lang.String message,
java.lang.String defaultValue,
android.webkit.JsPromptResult result)
Tell the client to display a prompt dialog to the user.
|
void |
onPermissionRequest(android.webkit.PermissionRequest request) |
void |
onShowCustomView(android.view.View view,
android.webkit.WebChromeClient.CustomViewCallback callback) |
boolean |
onShowFileChooser(android.webkit.WebView webView,
android.webkit.ValueCallback<android.net.Uri[]> filePathsCallback,
android.webkit.WebChromeClient.FileChooserParams fileChooserParams) |
void |
openFileChooser(android.webkit.ValueCallback<android.net.Uri> uploadMsg) |
void |
openFileChooser(android.webkit.ValueCallback<android.net.Uri> uploadMsg,
java.lang.String acceptType) |
void |
openFileChooser(android.webkit.ValueCallback<android.net.Uri> uploadMsg,
java.lang.String acceptType,
java.lang.String capture) |
getDefaultVideoPoster, getVisitedHistory, onCloseWindow, onCreateWindow, onGeolocationPermissionsHidePrompt, onJsBeforeUnload, onJsTimeout, onPermissionRequestCanceled, onProgressChanged, onReachedMaxAppCacheSize, onReceivedIcon, onReceivedTitle, onReceivedTouchIconUrl, onRequestFocus, onShowCustomView
protected final SystemWebViewEngine parentEngine
public SystemWebChromeClient(SystemWebViewEngine parentEngine)
public boolean onJsAlert(android.webkit.WebView view, java.lang.String url, java.lang.String message, android.webkit.JsResult result)
onJsAlert
in class android.webkit.WebChromeClient
public boolean onJsConfirm(android.webkit.WebView view, java.lang.String url, java.lang.String message, android.webkit.JsResult result)
onJsConfirm
in class android.webkit.WebChromeClient
public boolean onJsPrompt(android.webkit.WebView view, java.lang.String origin, java.lang.String message, java.lang.String defaultValue, android.webkit.JsPromptResult result)
onJsPrompt
in class android.webkit.WebChromeClient
public void onExceededDatabaseQuota(java.lang.String url, java.lang.String databaseIdentifier, long currentQuota, long estimatedSize, long totalUsedQuota, android.webkit.WebStorage.QuotaUpdater quotaUpdater)
onExceededDatabaseQuota
in class android.webkit.WebChromeClient
public void onConsoleMessage(java.lang.String message, int lineNumber, java.lang.String sourceID)
onConsoleMessage
in class android.webkit.WebChromeClient
public boolean onConsoleMessage(android.webkit.ConsoleMessage consoleMessage)
onConsoleMessage
in class android.webkit.WebChromeClient
public void onGeolocationPermissionsShowPrompt(java.lang.String origin, android.webkit.GeolocationPermissions.Callback callback)
onGeolocationPermissionsShowPrompt
in class android.webkit.WebChromeClient
public void onShowCustomView(android.view.View view, android.webkit.WebChromeClient.CustomViewCallback callback)
onShowCustomView
in class android.webkit.WebChromeClient
public void onHideCustomView()
onHideCustomView
in class android.webkit.WebChromeClient
public android.view.View getVideoLoadingProgressView()
getVideoLoadingProgressView
in class android.webkit.WebChromeClient
public void openFileChooser(android.webkit.ValueCallback<android.net.Uri> uploadMsg)
public void openFileChooser(android.webkit.ValueCallback<android.net.Uri> uploadMsg, java.lang.String acceptType)
public void openFileChooser(android.webkit.ValueCallback<android.net.Uri> uploadMsg, java.lang.String acceptType, java.lang.String capture)
public boolean onShowFileChooser(android.webkit.WebView webView, android.webkit.ValueCallback<android.net.Uri[]> filePathsCallback, android.webkit.WebChromeClient.FileChooserParams fileChooserParams)
onShowFileChooser
in class android.webkit.WebChromeClient
public void onPermissionRequest(android.webkit.PermissionRequest request)
onPermissionRequest
in class android.webkit.WebChromeClient
public void destroyLastDialog()