am 94ab3b6d: Expose WebViewClient of WebView.
Merge commit '94ab3b6d0e9a5a914c7706ed1888c9d27756f7e4' into eclair-mr2-plus-aosp * commit '94ab3b6d0e9a5a914c7706ed1888c9d27756f7e4': Expose WebViewClient of WebView.
This commit is contained in:
@@ -149,6 +149,16 @@ class CallbackProxy extends Handler {
|
||||
mWebViewClient = client;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the WebViewClient.
|
||||
* @return the current WebViewClient instance.
|
||||
*
|
||||
*@hide pending API council approval.
|
||||
*/
|
||||
public WebViewClient getWebViewClient() {
|
||||
return mWebViewClient;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the WebChromeClient.
|
||||
* @param client An implementation of WebChromeClient.
|
||||
|
||||
@@ -2629,6 +2629,16 @@ public class WebView extends AbsoluteLayout
|
||||
mCallbackProxy.setWebViewClient(client);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the WebViewClient
|
||||
* @return the current WebViewClient instance.
|
||||
*
|
||||
*@hide pending API council approval.
|
||||
*/
|
||||
public WebViewClient getWebViewClient() {
|
||||
return mCallbackProxy.getWebViewClient();
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the interface to be used when content can not be handled by
|
||||
* the rendering engine, and should be downloaded instead. This will replace
|
||||
|
||||
Reference in New Issue
Block a user