Home
last modified time | relevance | path

Searched refs:webChromeClient (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebChromeClientTest.java74 final MockWebChromeClient webChromeClient = new MockWebChromeClient(); in testOnProgressChanged() local
75 mOnUiThread.setWebChromeClient(webChromeClient); in testOnProgressChanged()
77 assertFalse(webChromeClient.hadOnProgressChanged()); in testOnProgressChanged()
84 return webChromeClient.hadOnProgressChanged(); in testOnProgressChanged()
93 final MockWebChromeClient webChromeClient = new MockWebChromeClient(); in testOnReceivedTitle() local
94 mOnUiThread.setWebChromeClient(webChromeClient); in testOnReceivedTitle()
96 assertFalse(webChromeClient.hadOnReceivedTitle()); in testOnReceivedTitle()
103 return webChromeClient.hadOnReceivedTitle(); in testOnReceivedTitle()
106 assertTrue(webChromeClient.hadOnReceivedTitle()); in testOnReceivedTitle()
107 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, webChromeClient.getPageTitle()); in testOnReceivedTitle()
[all …]
DWebSettingsTest.java884 final ChromeClient webChromeClient = new ChromeClient(mOnUiThread);
885 mOnUiThread.setWebChromeClient(webChromeClient);
890 assertEquals(ConsoleMessage.MessageLevel.ERROR, webChromeClient.getMessageLevel(10000));
907 final ChromeClient webChromeClient = new ChromeClient(mOnUiThread);
908 mOnUiThread.setWebChromeClient(webChromeClient);
910 assertEquals(ConsoleMessage.MessageLevel.ERROR, webChromeClient.getMessageLevel(10000));
DWebViewTest.java1206 final ChromeClient webChromeClient = new ChromeClient(mOnUiThread);
1212 mOnUiThread.setWebChromeClient(webChromeClient);
1221 assertEquals(ConsoleMessage.MessageLevel.ERROR, webChromeClient.getMessageLevel(10000));
2251 final MockWebChromeClient webChromeClient = new MockWebChromeClient();
2253 mOnUiThread.setWebChromeClient(webChromeClient);
2255 assertFalse(webChromeClient.onProgressChangedCalled());
2265 return webChromeClient.onProgressChangedCalled();
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java110 final WebChromeClient webChromeClient = new WaitForProgressClient(this); in WebViewOnUiThread() local
115 mWebView.setWebChromeClient(webChromeClient); in WebViewOnUiThread()
178 public void setWebChromeClient(final WebChromeClient webChromeClient) { in setWebChromeClient() argument
182 mWebView.setWebChromeClient(webChromeClient); in setWebChromeClient()