Home
last modified time | relevance | path

Searched refs:AwContents (Results 1 – 25 of 70) sorted by relevance

123

/external/chromium_org/android_webview/native/
Daw_contents.cc97 reinterpret_cast<android_webview::AwContents*>(view_context) in DrawGLFunction()
112 AwContentsUserData(AwContents* ptr) : contents_(ptr) {} in AwContentsUserData()
114 static AwContents* GetContents(WebContents* web_contents) { in GetContents()
123 AwContents* contents_;
138 AwContents* AwContents::FromWebContents(WebContents* web_contents) { in FromWebContents()
144 AwContents* AwContents::FromID(int render_process_id, int render_view_id) { in FromID()
157 AwContents* aw_contents = AwContents::FromID(render_process_id, in FromID()
162 AwContents::AwContents(scoped_ptr<WebContents> web_contents) in AwContents() function in android_webview::AwContents
191 void AwContents::SetJavaPeers(JNIEnv* env, in SetJavaPeers()
224 void AwContents::SetSaveFormData(bool enabled) { in SetSaveFormData()
[all …]
Daw_contents.h57 class AwContents : public FindHelper::Listener,
65 static AwContents* FromWebContents(content::WebContents* web_contents);
69 static AwContents* FromID(int render_process_id, int render_view_id);
71 AwContents(scoped_ptr<content::WebContents> web_contents);
72 virtual ~AwContents();
241 scoped_ptr<AwContents> pending_contents_;
258 DISALLOW_COPY_AND_ASSIGN(AwContents);
Daw_web_contents_delegate.cc68 AwContents* aw_contents = AwContents::FromWebContents(web_contents); in FindReply()
148 AwContents::FromWebContents(source)->SetPendingWebContentsForPopup( in AddNewContents()
199 AwContents* aw_contents = AwContents::FromWebContents(web_contents); in RequestMediaAccessPermission()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwTestBase.java16 import org.chromium.android_webview.AwContents;
83 public void enableJavaScriptOnUiThread(final AwContents awContents) { in enableJavaScriptOnUiThread()
92 public void setNetworkAvailableOnUiThread(final AwContents awContents, in setNetworkAvailableOnUiThread()
105 public void loadUrlSync(final AwContents awContents, in loadUrlSync()
111 public void loadUrlSync(final AwContents awContents, in loadUrlSync()
121 public void loadUrlSyncAndExpectError(final AwContents awContents, in loadUrlSyncAndExpectError()
137 public void loadUrlAsync(final AwContents awContents, in loadUrlAsync()
142 public void loadUrlAsync(final AwContents awContents, in loadUrlAsync()
158 public void postUrlSync(final AwContents awContents, in postUrlSync()
170 public void postUrlAsync(final AwContents awContents, in postUrlAsync()
[all …]
DAwContentsTest.java22 import org.chromium.android_webview.AwContents;
74 AwContents awContents = testView.getAwContents(); in testCreateLoadDestroyManyTimes()
102 AwContents awContents = in testWebViewApisFailGracefullyAfterDestruction()
156 return AwContents.getNativeInstanceCount() <= maxIdleInstances; in testCreateAndGcManyTimes()
164 assertTrue(AwContents.getNativeInstanceCount() >= concurrentInstances); in testCreateAndGcManyTimes()
165 assertTrue(AwContents.getNativeInstanceCount() <= (i + 1) * concurrentInstances); in testCreateAndGcManyTimes()
179 return AwContents.getNativeInstanceCount() <= maxIdleInstances; in testCreateAndGcManyTimes()
203 private int callDocumentHasImagesSync(final AwContents awContents) in callDocumentHasImagesSync()
231 AwContents awContents = testView.getAwContents(); in testDocumentHasImages()
255 final AwContents awContents = testContainer.getAwContents(); in testClearCacheMemoryAndDisk()
[all …]
DAwContentsClientShouldOverrideUrlLoadingTest.java10 import org.chromium.android_webview.AwContents;
48 private void clickOnLinkUsingJs(final AwContents awContents, in clickOnLinkUsingJs()
122 final AwContents awContents = testContainerView.getAwContents(); in testNotCalledOnLoadUrl()
132 private void waitForNavigationRunnableAndAssertTitleChanged(AwContents awContents, in waitForNavigationRunnableAndAssertTitleChanged()
148 final AwContents awContents = testContainerView.getAwContents(); in testNotCalledOnBackForwardNavigation()
203 final AwContents awContents = testContainerView.getAwContents(); in testCantBlockLoads()
222 final AwContents awContents = testContainerView.getAwContents(); in testCalledBeforeOnPageStarted()
246 final AwContents awContents = testContainerView.getAwContents(); in testDoesNotCauseOnReceivedError()
288 final AwContents awContents = testContainerView.getAwContents(); in doTestNotCalledForAnchorNavigations()
323 final AwContents awContents = testContainerView.getAwContents(); in testCalledWhenLinkClicked()
[all …]
DAwJavaBridgeTest.java9 import org.chromium.android_webview.AwContents;
33 final AwContents awContents = mTestContainerView.getAwContents(); in testDestroyFromJavaObject()
78 final AwContents awContents1 = mTestContainerView.getAwContents(); in testTwoWebViewsCreatedSimultaneously()
81 final AwContents awContents2 = view2.getAwContents(); in testTwoWebViewsCreatedSimultaneously()
119 final AwContents awContents1 = mTestContainerView.getAwContents(); in testTwoWebViewsSecondCreatedAfterLoadingInFirst()
147 final AwContents awContents2 = view2.getAwContents(); in testTwoWebViewsSecondCreatedAfterLoadingInFirst()
DWebViewFindApisTestBase.java7 import org.chromium.android_webview.AwContents;
22 private AwContents mContents;
34 protected AwContents contents() { in contents()
44 private AwContents loadContentsFromStringSync(final String html) throws Throwable { in loadContentsFromStringSync()
55 final AwContents contents = in loadContentsFromStringSync()
DAwLegacyQuirksTest.java9 import org.chromium.android_webview.AwContents;
30 final AwContents awContents = testContainerView.getAwContents(); in testTargetDensityDpi()
67 final AwContents awContents = testContainerView.getAwContents(); in testWideViewportInitialScaleDoesNotExpandFixedLayoutWidth()
93 final AwContents awContents = testContainerView.getAwContents(); in testZeroValuesQuirk()
125 final AwContents awContents = testContainerView.getAwContents(); in testScreenSizeInPhysicalPixelsQuirk()
184 final AwContents awContents = testContainerView.getAwContents(); in testMetaMergeContentQuirk()
222 final AwContents awContents = testContainerView.getAwContents(); in testMetaMergeContentQuirkOverrides()
247 final AwContents awContents = testContainerView.getAwContents(); in testInitialScaleClobberQuirk()
281 final AwContents awContents = testContainerView.getAwContents(); in testNoUserScalableQuirk()
318 final AwContents awContents = testContainerView.getAwContents(); in testUseLegacyBackgroundSizeShorthandBehavior()
[all …]
DWebViewModalDialogOverrideTest.java14 import org.chromium.android_webview.AwContents;
51 final AwContents awContents = view.getAwContents(); in testOverrideAlertHandling()
84 final AwContents awContents = view.getAwContents(); in testOverridePromptHandling()
114 final AwContents awContents = view.getAwContents(); in testOverrideConfirmHandlingConfirmed()
144 final AwContents awContents = view.getAwContents(); in testOverrideConfirmHandlingCancelled()
170 final AwContents awContents = view.getAwContents(); in testOverrideBeforeUnloadHandling()
DLoadUrlTest.java12 import org.chromium.android_webview.AwContents;
43 final AwContents awContents = testContainerView.getAwContents(); in testDataUrl()
59 final AwContents awContents = testContainerView.getAwContents(); in testDataUrlBase64()
76 final AwContents awContents = testContainerView.getAwContents(); in testDataUrlCharset()
86 final AwContents awContents, in loadUrlWithExtraHeadersSync()
143 final AwContents awContents = testContainerView.getAwContents(); in testLoadUrlWithExtraHeaders()
179 final AwContents awContents = testContainerView.getAwContents(); in testNoOverridingOfExistingHeaders()
216 final AwContents awContents = testContainerView.getAwContents(); in testReloadWithExtraHeaders()
250 final AwContents awContents = testContainerView.getAwContents(); in testRedirectAndReloadWithExtraHeaders()
289 final AwContents awContents = testContainerView.getAwContents(); in testRendererNavigationAndGoBackWithExtraHeaders()
DMediaAccessPermissionRequestTest.java9 import org.chromium.android_webview.AwContents;
87 final AwContents awContents = testContainerView.getAwContents(); in testGrantAccess()
109 final AwContents awContents = testContainerView.getAwContents(); in testDenyAccess()
117 private void pollTitleAs(final String title, final AwContents awContents) in pollTitleAs()
151 final AwContents awContents = testContainerView.getAwContents(); in testCancelPermission()
DAwContentsClientVisitedHistoryTest.java10 import org.chromium.android_webview.AwContents;
67 AwContents awContents = testView.getAwContents(); in testUpdateVisitedHistoryCallback()
107 AwContents awContents = testView.getAwContents(); in testGetVisitedHistoryExerciseCodePath()
138 AwContents awContents = testView.getAwContents(); in testGetVisitedHistoryCallbackAfterDestroy()
DStandaloneAwQuotaManagerBridgeTest.java7 import org.chromium.android_webview.AwContents;
20 assertEquals(AwContents.getNativeInstanceCount(), 0); in testStartup()
DUserAgentTest.java9 import org.chromium.android_webview.AwContents;
18 private AwContents mAwContents;
DKeySystemTest.java10 import org.chromium.android_webview.AwContents;
19 private AwContents mAwContents;
DAwContentsClientOnScaleChangedTest.java9 import org.chromium.android_webview.AwContents;
18 private AwContents mAwContents;
DClearHistoryTest.java7 import org.chromium.android_webview.AwContents;
38 final AwContents awContents = testContainerView.getAwContents(); in testClearHistory()
DAwSettingsTest.java23 import org.chromium.android_webview.AwContents;
64 protected final AwContents mAwContents;
1497 final AwContents awContents = testContainerView.getAwContents(); in testJavaScriptDisabledByDefault()
1561 final AwContents awContents = testContainerView.getAwContents(); in testLoadsImagesAutomaticallyNoPageReload()
1616 final AwContents awContents = testContainerView.getAwContents(); in testUserAgentStringDefault()
1647 final AwContents awContents = testContainerView.getAwContents(); in testUserAgentStringOverride()
1677 final AwContents awContents = testContainerView.getAwContents(); in testUserAgentStringOverrideForHistory()
1726 AwContents awContents = testContainerView.getAwContents(); in testUserAgentWithTestServer()
1825 final AwContents awContents = testContainerView.getAwContents(); in testFileAccessFromFilesImage()
1880 final AwContents awContents = testContainerView.getAwContents(); in testBlockingContentUrlsFromDataUrls()
[all …]
DAwContentsClientGetVideoLoadingProgressViewTest.java10 import org.chromium.android_webview.AwContents;
64 final AwContents awContents = testContainerView.getAwContents(); in testGetVideoLoadingProgressView()
DNavigationHistoryTest.java9 import org.chromium.android_webview.AwContents;
39 private AwContents mAwContents;
44 AwContents.setShouldDownloadFavicons(); in setUp()
58 private NavigationHistory getNavigationHistory(final AwContents awContents) in getNavigationHistory()
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
DAwTestContainerView.java25 import org.chromium.android_webview.AwContents;
38 private AwContents mAwContents;
39 private AwContents.NativeGLDelegate mNativeGLDelegate;
40 private AwContents.InternalAccessDelegate mInternalAccessDelegate;
250 public void initialize(AwContents awContents) { in initialize()
262 public AwContents getAwContents() { in getAwContents()
266 public AwContents.NativeGLDelegate getNativeGLDelegate() { in getNativeGLDelegate()
270 public AwContents.InternalAccessDelegate getInternalAccessDelegate() { in getInternalAccessDelegate()
399 info.setClassName(AwContents.class.getName()); in onInitializeAccessibilityNodeInfo()
406 event.setClassName(AwContents.class.getName()); in onInitializeAccessibilityEvent()
[all …]
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
DJSUtils.java13 import org.chromium.android_webview.AwContents;
27 final AwContents awContents, in clickOnLinkUsingJs()
62 final AwContents awContents, in executeJavaScriptAndWaitForResult()
DVideoTestUtil.java7 import org.chromium.android_webview.AwContents;
27 final AwContents awContents = in runVideoTest()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DNullAwViewMethods.java17 import org.chromium.android_webview.AwContents.InternalAccessDelegate;
25 private AwContents mAwContents;
30 AwContents awContents, InternalAccessDelegate internalAccessAdapter, in NullAwViewMethods()

123