HomeSort by relevance Sort by last modified time
    Searched refs:webChromeClient (Results 1 - 6 of 6) sorted by null

  /cts/tests/tests/webkit/src/android/webkit/cts/
WebChromeClientTest.java 65 final MockWebChromeClient webChromeClient = new MockWebChromeClient();
66 mOnUiThread.setWebChromeClient(webChromeClient);
68 assertFalse(webChromeClient.hadOnProgressChanged());
75 return webChromeClient.hadOnProgressChanged();
81 final MockWebChromeClient webChromeClient = new MockWebChromeClient();
82 mOnUiThread.setWebChromeClient(webChromeClient);
84 assertFalse(webChromeClient.hadOnReceivedTitle());
91 return webChromeClient.hadOnReceivedTitle();
94 assertTrue(webChromeClient.hadOnReceivedTitle());
95 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, webChromeClient.getPageTitle())
    [all...]
WebSettingsTest.java 588 // webChromeClient and listening to Quota callbacks, which is not documented.
742 final ChromeClient webChromeClient = new ChromeClient(mOnUiThread);
743 mOnUiThread.setWebChromeClient(webChromeClient);
748 assertEquals(ConsoleMessage.MessageLevel.ERROR, webChromeClient.getMessageLevel(10000));
759 final ChromeClient webChromeClient = new ChromeClient(mOnUiThread);
760 mOnUiThread.setWebChromeClient(webChromeClient);
762 assertEquals(ConsoleMessage.MessageLevel.ERROR, webChromeClient.getMessageLevel(10000));
    [all...]
WebViewTest.java 64 import android.webkit.WebChromeClient;
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowWebView.java 5 import android.webkit.WebChromeClient;
31 private WebChromeClient webChromeClient;
78 public void setWebChromeClient(WebChromeClient client) {
79 webChromeClient = client;
168 * @return webChromeClient
170 public WebChromeClient getWebChromeClient() {
171 return webChromeClient;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
WebViewTest.java 4 import android.webkit.WebChromeClient;
77 WebChromeClient webChromeClient = new WebChromeClient();
79 webView.setWebChromeClient(webChromeClient);
80 assertThat(shadowWebView.getWebChromeClient(), sameInstance(webChromeClient));
  /cts/tests/src/android/webkit/cts/
WebViewOnUiThread.java 36 import android.webkit.WebChromeClient;
90 * Initializes the webView with a WebViewClient, WebChromeClient,
104 final WebChromeClient webChromeClient = new WaitForProgressClient(this);
109 mWebView.setWebChromeClient(webChromeClient);
172 public void setWebChromeClient(final WebChromeClient webChromeClient) {
176 mWebView.setWebChromeClient(webChromeClient);
865 * A WebChromeClient used to capture the onProgressChanged for use
866 * in waitFor functions. If a test must override the WebChromeClient,
    [all...]

Completed in 49 milliseconds