Home
last modified time | relevance | path

Searched refs:contentsClient (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwContentsClientShouldOverrideUrlLoadingTest.java49 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 …]
DAndroidScrollIntegrationTest.java218 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 …]
DLoadUrlTest.java40 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 …]
DAwContentsClientGetDefaultVideoPosterTest.java64 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()
DAndroidViewIntegrationTest.java144 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 …]
DSaveRestoreStateTest.java25 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());
DMediaAccessPermissionRequestTest.java77 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()
DCookieManagerStartupTest.java45 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()
DClearHistoryTest.java35 final TestAwContentsClient contentsClient = new TestAwContentsClient(); in testClearHistory() local
37 createAwTestContainerViewOnMainSync(contentsClient); in testClearHistory()
41 OnPageFinishedHelper onPageFinishedHelper = contentsClient.getOnPageFinishedHelper(); in testClearHistory()
DAwContentsClientGetVideoLoadingProgressViewTest.java52 TestAwContentsClient contentsClient = in testGetVideoLoadingProgressView() local
63 createAwTestContainerViewOnMainSync(contentsClient); in testGetVideoLoadingProgressView()
70 loadUrlSync(awContents, contentsClient.getOnPageFinishedHelper(), in testGetVideoLoadingProgressView()
DWebViewFindApisTestBase.java45 final TestAwContentsClient contentsClient = new TestAwContentsClient() { in loadContentsFromStringSync() local
56 createAwTestContainerViewOnMainSync(contentsClient).getAwContents(); in loadContentsFromStringSync()
58 loadDataSync(contents, contentsClient.getOnPageFinishedHelper(), in loadContentsFromStringSync()
DClientOnPageStartedTest.java27 private void setTestAwContentsClient(TestAwContentsClient contentsClient) throws Exception { in setTestAwContentsClient() argument
28 mContentsClient = contentsClient; in setTestAwContentsClient()
DAwContentsClientFaviconTest.java95 private void init(TestAwContentsClientBase contentsClient) throws Exception { in init() argument
96 mContentsClient = contentsClient; in init()
DClientOnPageFinishedTest.java31 private void setTestAwContentsClient(TestAwContentsClient contentsClient) throws Exception { in setTestAwContentsClient() argument
32 mContentsClient = contentsClient; in setTestAwContentsClient()
DAwContentsClientShouldInterceptRequestTest.java500 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/
DAwContentsClientCallbackHelper.java152 public AwContentsClientCallbackHelper(Looper looper, AwContentsClient contentsClient) { in AwContentsClientCallbackHelper() argument
154 mContentsClient = contentsClient; in AwContentsClientCallbackHelper()
DAwWebContentsDelegateAdapter.java37 public AwWebContentsDelegateAdapter(AwContentsClient contentsClient, in AwWebContentsDelegateAdapter() argument
39 mContentsClient = contentsClient; in AwWebContentsDelegateAdapter()
DAwContents.java545 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()