Searched refs:webChromeClient (Results 1 – 4 of 4) sorted by relevance
74 final MockWebChromeClient webChromeClient = new MockWebChromeClient(); in testOnProgressChanged() local75 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() local94 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 …]
884 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));
1206 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();
110 final WebChromeClient webChromeClient = new WaitForProgressClient(this); in WebViewOnUiThread() local115 mWebView.setWebChromeClient(webChromeClient); in WebViewOnUiThread()178 public void setWebChromeClient(final WebChromeClient webChromeClient) { in setWebChromeClient() argument182 mWebView.setWebChromeClient(webChromeClient); in setWebChromeClient()