Code example for WebChromeClient

0
						sLayout.setFocusable(true);
						sLayout.setFocusableInTouchMode(true);
					} 
					sLayout.addView(mWebView, new FrameLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT, Gravity.NO_GRAVITY));
					 
					mWebView.setWebChromeClient(new WebChromeClient());
					mWebView.setWebViewClient(new WebViewClient());
					//mWebView.addJavascriptInterface(new WebViewPluginInterface(delegate), "Cocos2dx"); 
					WebSettings webSettings = mWebView.getSettings();
					webSettings.setSupportZoom(false);
					//webSettings.setJavaScriptEnabled(true); 
					webSettings.setPluginsEnabled(true);
					Signal.countDown();
				} 
			}); 
			try { 
				Signal.await();
			} catch (InterruptedException e) {
				mWebView = null;
			}