Code example for WebChromeClient

Methods: onGeolocationPermissionsHidePrompt

0
                mWebChromeClient.onGeolocationPermissionsShowPrompt(origin, callback);
            } 
 
            @Override 
            public void onGeolocationPermissionsHidePrompt() { 
                mWebChromeClient.onGeolocationPermissionsHidePrompt();
            } 
 
            @Override 
            public boolean onConsoleMessage(ConsoleMessage consoleMessage) {
                // Call the old version of this function for backwards compatability. 
                super.onConsoleMessage(consoleMessage.message(), consoleMessage.lineNumber(), consoleMessage.sourceId());
                return mWebChromeClient.onConsoleMessage(consoleMessage);
            } 
        }); 
         
         
        super.setPictureListener(new PictureListener() {
            @Override 
            public void onNewPicture(WebView webview, Picture picture) {
                mWebViewExClient.onNewPicture(webview, picture);