Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebChromeClientTest.java125 final MockWebChromeClient webChromeClient = new MockWebChromeClient(); in testOnProgressChanged() local
126 mOnUiThread.setWebChromeClient(webChromeClient); in testOnProgressChanged()
128 assertFalse(webChromeClient.hadOnProgressChanged()); in testOnProgressChanged()
135 return webChromeClient.hadOnProgressChanged(); in testOnProgressChanged()
142 final MockWebChromeClient webChromeClient = new MockWebChromeClient(); in testOnReceivedTitle() local
143 mOnUiThread.setWebChromeClient(webChromeClient); in testOnReceivedTitle()
145 assertFalse(webChromeClient.hadOnReceivedTitle()); in testOnReceivedTitle()
152 return webChromeClient.hadOnReceivedTitle(); in testOnReceivedTitle()
155 assertTrue(webChromeClient.hadOnReceivedTitle()); in testOnReceivedTitle()
156 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, webChromeClient.getPageTitle()); in testOnReceivedTitle()
[all …]
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java93 public void setWebChromeClient(final WebChromeClient webChromeClient) { in setWebChromeClient() argument
95 mWebView.setWebChromeClient(webChromeClient); in setWebChromeClient()