Home | History | Annotate | Download | only in cts

Lines Matching refs:webView

39 import android.webkit.WebView;
40 import android.webkit.WebView.HitTestResult;
41 import android.webkit.WebView.PictureListener;
42 import android.webkit.WebView.VisualStateCallback;
53 * Many tests need to run WebView code in the UI thread. This class
54 * wraps a WebView so that calls are ensured to arrive on the UI thread.
60 * http://go/modifying-webview-cts.
64 * The WebView that calls will be made on.
66 private WebView mWebView;
69 * Wraps a WebView to ensure that methods are run on the UI thread.
74 * @param webView The webView that the methods should call.
76 public WebViewOnUiThread(WebView webView) {
77 super(webView);
78 mWebView = webView;
98 * Set the webview renderer client for {@code mWebView}, on the UI thread.
106 * Set the webview renderer client for {@code webView}, on the UI thread.
109 final WebView webView,
112 webView.setWebViewRenderProcessClient(webViewRenderProcessClient)
117 * Set the webview renderer client for {@code mWebView}, on the UI thread, with callbacks
126 * Set the webview renderer client for {@code webView}, on the UI thread, with callbacks
130 final WebView webView,
134 webView.setWebViewRenderProcessClient(executor, webViewRenderProcessClient)
139 * Get the webview renderer client currently set on {@code mWebView}, on the UI thread.
146 * Get the webview renderer client currently set on {@code webView}, on the UI thread.
149 final WebView webView) {
151 return webView.getWebViewRenderProcessClient();
243 public void setFindListener(final WebView.FindListener listener) {
305 WebView.clearClientCertPreferences(onCleared);
511 public WebView createWebView() {
513 return new WebView(mWebView.getContext());
556 * Accessor for underlying WebView.
557 * @return The WebView being wrapped by this class.
559 public WebView getWebView() {
578 * Capture a bitmap representation of the current WebView state.