Code example for WebChromeClient

Methods: onCreateWindow

0
        mWrapped.onConsoleMessage(message, lineNumber, sourceID);
    } 
 
    @Override 
    public boolean onCreateWindow(WebView view, boolean isDialog, boolean isUserGesture, Message resultMsg) {
        return mWrapped.onCreateWindow(view, isDialog, isUserGesture, resultMsg);
    } 
 
    @Override 
    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);
    } 
 
    @Override