Code example for WebChromeClient

Methods: onCreateWindow

        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. 
        // quotaUpdater.updateQuota(estimatedSize * 2); 
        mWrapped.onExceededDatabaseQuota(url, databaseIdentifier, currentQuota, estimatedSize, totalUsedQuota, quotaUpdater);
Experience pair programming with AI  Get Codota for Java