/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
D | AwContentsClientShouldOverrideUrlLoadingTest.java | 49 final TestAwContentsClient contentsClient) throws Throwable { in clickOnLinkUsingJs() argument 52 contentsClient.getOnEvaluateJavaScriptResultHelper(), "link"); in clickOnLinkUsingJs() 119 final TestAwContentsClient contentsClient = new TestAwContentsClient(); in testNotCalledOnLoadUrl() local 121 createAwTestContainerViewOnMainSync(contentsClient); in testNotCalledOnLoadUrl() 124 contentsClient.getShouldOverrideUrlLoadingHelper(); in testNotCalledOnLoadUrl() 126 loadDataSync(awContents, contentsClient.getOnPageFinishedHelper(), in testNotCalledOnLoadUrl() 145 final TestAwContentsClient contentsClient = new TestAwContentsClient(); in testNotCalledOnBackForwardNavigation() local 147 createAwTestContainerViewOnMainSync(contentsClient); in testNotCalledOnBackForwardNavigation() 150 contentsClient.getShouldOverrideUrlLoadingHelper(); in testNotCalledOnBackForwardNavigation() 154 loadDataSync(awContents, contentsClient.getOnPageFinishedHelper(), in testNotCalledOnBackForwardNavigation() [all …]
|
D | AndroidScrollIntegrationTest.java | 218 final TestAwContentsClient contentsClient, 223 String x = executeJavaScriptAndWaitForResult(awContents, contentsClient, 225 String y = executeJavaScriptAndWaitForResult(awContents, contentsClient, 234 final TestAwContentsClient contentsClient) throws Exception { 240 String r = executeJavaScriptAndWaitForResult(awContents, contentsClient, 248 final TestAwContentsClient contentsClient, 262 loadDataSync(testContainerView.getAwContents(), contentsClient.getOnPageFinishedHelper(), 276 final TestAwContentsClient contentsClient = new TestAwContentsClient(); 278 (ScrollTestContainerView) createAwTestContainerViewOnMainSync(contentsClient); 297 loadTestPageAndWaitForFirstFrame(testContainerView, contentsClient, "onscrollObserver", ""); [all …]
|
D | LoadUrlTest.java | 40 final TestAwContentsClient contentsClient = new TestAwContentsClient(); in testDataUrl() local 42 createAwTestContainerViewOnMainSync(contentsClient); in testDataUrl() 44 loadDataSync(awContents, contentsClient.getOnPageFinishedHelper(), data, in testDataUrl() 56 final TestAwContentsClient contentsClient = new TestAwContentsClient(); in testDataUrlBase64() local 58 createAwTestContainerViewOnMainSync(contentsClient); in testDataUrlBase64() 60 loadDataSync(awContents, contentsClient.getOnPageFinishedHelper(), data, in testDataUrlBase64() 73 final TestAwContentsClient contentsClient = new TestAwContentsClient(); in testDataUrlCharset() local 75 createAwTestContainerViewOnMainSync(contentsClient); in testDataUrlCharset() 77 loadDataSyncWithCharset(awContents, contentsClient.getOnPageFinishedHelper(), data, in testDataUrlCharset() 140 final TestAwContentsClient contentsClient = new TestAwContentsClient(); in testLoadUrlWithExtraHeaders() local [all …]
|
D | AwContentsClientGetDefaultVideoPosterTest.java | 64 DefaultVideoPosterClient contentsClient = in testGetDefaultVideoPoster() local 67 createAwTestContainerViewOnMainSync(contentsClient); in testGetDefaultVideoPoster() 70 contentsClient.waitForGetDefaultVideoPosterCalled(); in testGetDefaultVideoPoster() 76 DefaultVideoPosterClient contentsClient = in testInterceptDefaultVidoePosterURL() local 79 new DefaultVideoPosterRequestHandler(contentsClient); in testInterceptDefaultVidoePosterURL() 84 Bitmap poster = contentsClient.getPoster(); in testInterceptDefaultVidoePosterURL() 94 NullContentsClient contentsClient = new NullContentsClient(); in testNoDefaultVideoPoster() local 96 new DefaultVideoPosterRequestHandler(contentsClient); in testNoDefaultVideoPoster()
|
D | AndroidViewIntegrationTest.java | 144 final TestAwContentsClient contentsClient = new TestAwContentsClient(); 146 contentsClient, View.VISIBLE); 166 final TestAwContentsClient contentsClient = new TestAwContentsClient(); 168 contentsClient, View.INVISIBLE); 192 final TestAwContentsClient contentsClient = new TestAwContentsClient(); 194 createDetachedTestContainerViewOnMainSync(contentsClient); 253 final TestAwContentsClient contentsClient = new TestAwContentsClient(); 255 contentsClient); 276 final TestAwContentsClient contentsClient = new TestAwContentsClient(); 278 contentsClient); [all …]
|
D | SaveRestoreStateTest.java | 25 public final TestAwContentsClient contentsClient; field in SaveRestoreStateTest.TestVars 30 public TestVars(TestAwContentsClient contentsClient, in TestVars() argument 32 this.contentsClient = contentsClient; in TestVars() 40 TestAwContentsClient contentsClient = new TestAwContentsClient();; in createNewView() local 41 AwTestContainerView testView = createAwTestContainerViewOnMainSync(contentsClient); in createNewView() 42 return new TestVars(contentsClient, testView); in createNewView() 86 vars.contentsClient.getOnPageFinishedHelper(), in setServerResponseAndLoad() 140 TITLES[0].equals(restoredVars.contentsClient.getUpdatedTitle());
|
D | MediaAccessPermissionRequestTest.java | 77 TestAwContentsClient contentsClient = in testGrantAccess() local 86 createAwTestContainerViewOnMainSync(contentsClient); in testGrantAccess() 99 TestAwContentsClient contentsClient = in testDenyAccess() local 108 createAwTestContainerViewOnMainSync(contentsClient); in testDenyAccess() 131 TestAwContentsClient contentsClient = in testCancelPermission() local 150 createAwTestContainerViewOnMainSync(contentsClient); in testCancelPermission()
|
D | CookieManagerStartupTest.java | 45 private void startChromiumWithClient(TestAwContentsClient contentsClient) throws Exception { in startChromiumWithClient() argument 54 mContentsClient = contentsClient; in startChromiumWithClient() 121 TestAwContentsClient contentsClient = new TestAwContentsClient() { in testShouldInterceptRequestDeadlock() local 129 startChromiumWithClient(contentsClient); in testShouldInterceptRequestDeadlock() 130 loadUrlSync(mAwContents, contentsClient.getOnPageFinishedHelper(), url); in testShouldInterceptRequestDeadlock()
|
D | ClearHistoryTest.java | 35 final TestAwContentsClient contentsClient = new TestAwContentsClient(); in testClearHistory() local 37 createAwTestContainerViewOnMainSync(contentsClient); in testClearHistory() 41 OnPageFinishedHelper onPageFinishedHelper = contentsClient.getOnPageFinishedHelper(); in testClearHistory()
|
D | AwContentsClientGetVideoLoadingProgressViewTest.java | 52 TestAwContentsClient contentsClient = in testGetVideoLoadingProgressView() local 63 createAwTestContainerViewOnMainSync(contentsClient); in testGetVideoLoadingProgressView() 70 loadUrlSync(awContents, contentsClient.getOnPageFinishedHelper(), in testGetVideoLoadingProgressView()
|
D | WebViewFindApisTestBase.java | 45 final TestAwContentsClient contentsClient = new TestAwContentsClient() { in loadContentsFromStringSync() local 56 createAwTestContainerViewOnMainSync(contentsClient).getAwContents(); in loadContentsFromStringSync() 58 loadDataSync(contents, contentsClient.getOnPageFinishedHelper(), in loadContentsFromStringSync()
|
D | ClientOnPageStartedTest.java | 27 private void setTestAwContentsClient(TestAwContentsClient contentsClient) throws Exception { in setTestAwContentsClient() argument 28 mContentsClient = contentsClient; in setTestAwContentsClient()
|
D | AwContentsClientFaviconTest.java | 95 private void init(TestAwContentsClientBase contentsClient) throws Exception { in init() argument 96 mContentsClient = contentsClient; in init()
|
D | ClientOnPageFinishedTest.java | 31 private void setTestAwContentsClient(TestAwContentsClient contentsClient) throws Exception { in setTestAwContentsClient() argument 32 mContentsClient = contentsClient; in setTestAwContentsClient()
|
D | AwContentsClientShouldInterceptRequestTest.java | 500 private String getHeaderValue(AwContents awContents, TestAwContentsClient contentsClient, in getHeaderValue() argument 510 String header = executeJavaScriptAndWaitForResult(awContents, contentsClient, syncGetJs); in getHeaderValue()
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | AwContentsClientCallbackHelper.java | 152 public AwContentsClientCallbackHelper(Looper looper, AwContentsClient contentsClient) { in AwContentsClientCallbackHelper() argument 154 mContentsClient = contentsClient; in AwContentsClientCallbackHelper()
|
D | AwWebContentsDelegateAdapter.java | 37 public AwWebContentsDelegateAdapter(AwContentsClient contentsClient, in AwWebContentsDelegateAdapter() argument 39 mContentsClient = contentsClient; in AwWebContentsDelegateAdapter()
|
D | AwContents.java | 545 AwContentsClient contentsClient, AwSettings awSettings) { in AwContents() argument 547 contentsClient, awSettings, new DependencyFactory()); in AwContents() 559 AwContentsClient contentsClient, AwSettings settings, in AwContents() argument 566 mContentsClient = contentsClient; in AwContents() 570 mContentViewClient = new AwContentViewClient(contentsClient, settings, this, mContext); in AwContents() 577 contentsClient, mContainerView, mContext); in AwContents() 578 mContentsClientBridge = new AwContentsClientBridge(contentsClient, in AwContents()
|