Code example for WebChromeClient

Methods: onConsoleMessage

    public void onConsoleMessage(String message, int lineNumber, String sourceID) {
        mWrapped.onConsoleMessage(message, lineNumber, sourceID);
    public boolean onCreateWindow(WebView view, boolean isDialog, boolean isUserGesture, Message resultMsg) {
        return mWrapped.onCreateWindow(view, isDialog, isUserGesture, resultMsg);
    public void onExceededDatabaseQuota(String url,
                                        String databaseIdentifier,
                                        long currentQuota,
                                        long estimatedSize,
                                        long totalUsedQuota,
                                        QuotaUpdater quotaUpdater) {
        // To enable HTML5 SQL Datastore, uncomment the following piece of code.