public class

AmazonWebChromeClient

extends Object
java.lang.Object
   ↳ com.amazon.android.webkit.AmazonWebChromeClient

Class Overview

The AmazonWebChromeClient class is intended to be functionally equivalent to to the WebChromeClient class. See WebChromeClient for usage.

Summary

Nested Classes
interface AmazonWebChromeClient.CustomViewCallback The CustomViewCallback interface is intended to be functionally equivalent to to the WebChromeClient.CustomViewCallback interface. 
interface AmazonWebChromeClient.OnCreateWindowCallback The OnCreateWindowCallback interface is used in onCreateWindow(AmazonWebView, boolean, boolean, Bundle, AmazonWebChromeClient.OnCreateWindowCallback) to handle window creation without any explicit down casts. 
Public Constructors
AmazonWebChromeClient()
Public Methods
void getVisitedHistory(AmazonValueCallback<String[]> callback)
The getVisitedHistory() method is intended to be functionally equivalent to to the getVisitedHistory(ValueCallback) method.
void onCloseWindow(AmazonWebView view)
The onCloseWindow() method is intended to be functionally equivalent to to the onCloseWindow(WebView) method.
boolean onConsoleMessage(AmazonConsoleMessage consoleMessage)
The onConsoleMessage() method is intended to be functionally equivalent to to the onConsoleMessage(ConsoleMessage) method.
void onConsoleMessage(String message, int lineNumber, String sourceID)
The onConsoleMessage() method is intended to be functionally equivalent to to the onConsoleMessage(String, int, String) method.
boolean onCreateWindow(AmazonWebView view, boolean dialog, boolean userGesture, Bundle extraData, AmazonWebChromeClient.OnCreateWindowCallback callback)
Modified interface of onCreateWindow(WebView, boolean, boolean, Message) to allow us to cleanly handle window creation without any explicit down casts.
void onExceededDatabaseQuota(String url, String databaseIdentifier, long currentQuota, long estimatedSize, long totalUsedQuota, AmazonWebStorage.QuotaUpdater quotaUpdater)
The onExceededDatabaseQuota() method is intended to be functionally equivalent to to the onExceededDatabaseQuota(String, String, long, long, long, WebStorage.QuotaUpdater) method.
void onGeolocationPermissionsHidePrompt()
The onGeolocationPermissionsHidePrompt() method is intended to be functionally equivalent to to the onGeolocationPermissionsHidePrompt() method.
void onGeolocationPermissionsShowPrompt(String origin, AmazonGeolocationPermissions.Callback callback)
The onGeolocationPermissionsShowPrompt() method is intended to be functionally equivalent to to the onGeolocationPermissionsShowPrompt(String, GeolocationPermissions.Callback) method.
void onHideCustomView()
The onHideCustomView() method is intended to be functionally equivalent to to the onHideCustomView() method.
boolean onJsAlert(AmazonWebView view, String url, String message, AmazonJsResult result)
The onJsAlert() method is intended to be functionally equivalent to to the onJsAlert(WebView, String, String, JsResult) method.
boolean onJsBeforeUnload(AmazonWebView view, String url, String message, AmazonJsResult result)
The onJsBeforeUnload() method is intended to be functionally equivalent to to the onJsBeforeUnload(WebView, String, String, JsResult) method.
boolean onJsConfirm(AmazonWebView view, String url, String message, AmazonJsResult result)
The onJsConfirm() method is intended to be functionally equivalent to to the onJsConfirm(WebView, String, String, JsResult) method.
boolean onJsPrompt(AmazonWebView view, String url, String message, String defaultValue, AmazonJsPromptResult result)
The onJsPrompt() method is intended to be functionally equivalent to to the onJsPrompt(WebView, String, String, String, JsPromptResult) method.
void onProgressChanged(AmazonWebView view, int newProgress)
The onProgressChanged() method is intended to be functionally equivalent to to the onProgressChanged(WebView, int) method.
void onReachedMaxAppCacheSize(long spaceNeeded, long totalUsedQuota, AmazonWebStorage.QuotaUpdater quotaUpdater)
The onReachedMaxAppCacheSize() method is intended to be functionally equivalent to to the onReachedMaxAppCacheSize(long, long, WebStorage.QuotaUpdater) method.
void onReceivedIcon(AmazonWebView view, Bitmap icon)
The onReceivedIcon() method is intended to be functionally equivalent to to the onReceivedIcon(WebView, android.graphics.Bitmap) method.
void onReceivedTitle(AmazonWebView view, String title)
The onReceivedTitle() method is intended to be functionally equivalent to to the onReceivedTitle(WebView, String) method.
void onRequestFocus(AmazonWebView view)
The onRequestFocus() method is intended to be functionally equivalent to to the onRequestFocus(WebView) method.
void onShowCustomView(View view, AmazonWebChromeClient.CustomViewCallback callback)
The onShowCustomView() method is intended to be functionally equivalent to to the onShowCustomView(android.view.View, WebChromeClient.CustomViewCallback) method.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AmazonWebChromeClient ()

Public Methods

public void getVisitedHistory (AmazonValueCallback<String[]> callback)

The getVisitedHistory() method is intended to be functionally equivalent to to the getVisitedHistory(ValueCallback) method. See getVisitedHistory(ValueCallback) for usage.

public void onCloseWindow (AmazonWebView view)

The onCloseWindow() method is intended to be functionally equivalent to to the onCloseWindow(WebView) method. See onCloseWindow(WebView) for usage.

public boolean onConsoleMessage (AmazonConsoleMessage consoleMessage)

The onConsoleMessage() method is intended to be functionally equivalent to to the onConsoleMessage(ConsoleMessage) method. See onConsoleMessage(ConsoleMessage) for usage.

public void onConsoleMessage (String message, int lineNumber, String sourceID)

The onConsoleMessage() method is intended to be functionally equivalent to to the onConsoleMessage(String, int, String) method. See onConsoleMessage(String, int, String) for usage.

public boolean onCreateWindow (AmazonWebView view, boolean dialog, boolean userGesture, Bundle extraData, AmazonWebChromeClient.OnCreateWindowCallback callback)

Modified interface of onCreateWindow(WebView, boolean, boolean, Message) to allow us to cleanly handle window creation without any explicit down casts. The extraData field is used to propagate the required information when creating a new window. If you wish to create a new window using the view passed in use createWebView(android.content.Context, int, Object, boolean, Bundle)

public void onExceededDatabaseQuota (String url, String databaseIdentifier, long currentQuota, long estimatedSize, long totalUsedQuota, AmazonWebStorage.QuotaUpdater quotaUpdater)

The onExceededDatabaseQuota() method is intended to be functionally equivalent to to the onExceededDatabaseQuota(String, String, long, long, long, WebStorage.QuotaUpdater) method. See onExceededDatabaseQuota(String, String, long, long, long, WebStorage.QuotaUpdater) for usage.

public void onGeolocationPermissionsHidePrompt ()

The onGeolocationPermissionsHidePrompt() method is intended to be functionally equivalent to to the onGeolocationPermissionsHidePrompt() method. See onGeolocationPermissionsHidePrompt() for usage.

public void onGeolocationPermissionsShowPrompt (String origin, AmazonGeolocationPermissions.Callback callback)

The onGeolocationPermissionsShowPrompt() method is intended to be functionally equivalent to to the onGeolocationPermissionsShowPrompt(String, GeolocationPermissions.Callback) method. See onGeolocationPermissionsShowPrompt(String, GeolocationPermissions.Callback) for usage.

public void onHideCustomView ()

The onHideCustomView() method is intended to be functionally equivalent to to the onHideCustomView() method. See onHideCustomView() for usage.

public boolean onJsAlert (AmazonWebView view, String url, String message, AmazonJsResult result)

The onJsAlert() method is intended to be functionally equivalent to to the onJsAlert(WebView, String, String, JsResult) method. See onJsAlert(WebView, String, String, JsResult) for usage.

public boolean onJsBeforeUnload (AmazonWebView view, String url, String message, AmazonJsResult result)

The onJsBeforeUnload() method is intended to be functionally equivalent to to the onJsBeforeUnload(WebView, String, String, JsResult) method. See onJsBeforeUnload(WebView, String, String, JsResult) for usage.

public boolean onJsConfirm (AmazonWebView view, String url, String message, AmazonJsResult result)

The onJsConfirm() method is intended to be functionally equivalent to to the onJsConfirm(WebView, String, String, JsResult) method. See onJsConfirm(WebView, String, String, JsResult) for usage.

public boolean onJsPrompt (AmazonWebView view, String url, String message, String defaultValue, AmazonJsPromptResult result)

The onJsPrompt() method is intended to be functionally equivalent to to the onJsPrompt(WebView, String, String, String, JsPromptResult) method. See onJsPrompt(WebView, String, String, String, JsPromptResult) for usage.

public void onProgressChanged (AmazonWebView view, int newProgress)

The onProgressChanged() method is intended to be functionally equivalent to to the onProgressChanged(WebView, int) method. See onProgressChanged(WebView, int) for usage.

public void onReachedMaxAppCacheSize (long spaceNeeded, long totalUsedQuota, AmazonWebStorage.QuotaUpdater quotaUpdater)

The onReachedMaxAppCacheSize() method is intended to be functionally equivalent to to the onReachedMaxAppCacheSize(long, long, WebStorage.QuotaUpdater) method. See onReachedMaxAppCacheSize(long, long, WebStorage.QuotaUpdater) for usage.

public void onReceivedIcon (AmazonWebView view, Bitmap icon)

The onReceivedIcon() method is intended to be functionally equivalent to to the onReceivedIcon(WebView, android.graphics.Bitmap) method. See onReceivedIcon(WebView, android.graphics.Bitmap) for usage.

public void onReceivedTitle (AmazonWebView view, String title)

The onReceivedTitle() method is intended to be functionally equivalent to to the onReceivedTitle(WebView, String) method. See onReceivedTitle(WebView, String) for usage.

public void onRequestFocus (AmazonWebView view)

The onRequestFocus() method is intended to be functionally equivalent to to the onRequestFocus(WebView) method. See onRequestFocus(WebView) for usage.

public void onShowCustomView (View view, AmazonWebChromeClient.CustomViewCallback callback)

The onShowCustomView() method is intended to be functionally equivalent to to the onShowCustomView(android.view.View, WebChromeClient.CustomViewCallback) method. See onShowCustomView(android.view.View, WebChromeClient.CustomViewCallback) for usage.