Home
last modified time | relevance | path

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

123

/external/chromium_org/android_webview/native/
Daw_contents.cc106 AwContentsUserData(AwContents* ptr) : contents_(ptr) {} in AwContentsUserData()
108 static AwContents* GetContents(WebContents* web_contents) { in GetContents()
117 AwContents* contents_;
165 AwContents* AwContents::FromWebContents(WebContents* web_contents) { in FromWebContents()
170 AwContents* AwContents::FromID(int render_process_id, int render_view_id) { in FromID()
181 AwContents::AwContents(scoped_ptr<WebContents> web_contents) in AwContents() function in android_webview::AwContents
202 void AwContents::SetJavaPeers(JNIEnv* env, in SetJavaPeers()
237 void AwContents::SetSaveFormData(bool enabled) { in SetSaveFormData()
248 void AwContents::InitAutofillIfNecessary(bool enabled) { in InitAutofillIfNecessary()
267 void AwContents::SetAndroidWebViewRendererPrefs() { in SetAndroidWebViewRendererPrefs()
[all …]
Daw_geolocation_permission_context.cc28 AwContents* aw_contents = in RequestGeolocationPermissionOnUIThread()
29 AwContents::FromID(render_process_id, render_view_id); in RequestGeolocationPermissionOnUIThread()
71 AwContents* aw_contents = in CancelGeolocationPermissionRequestOnUIThread()
72 AwContents::FromID(render_process_id, render_view_id); in CancelGeolocationPermissionRequestOnUIThread()
Daw_contents.h49 class AwContents : public FindHelper::Listener,
55 static AwContents* FromWebContents(content::WebContents* web_contents);
59 static AwContents* FromID(int render_process_id, int render_view_id);
61 AwContents(scoped_ptr<content::WebContents> web_contents);
62 virtual ~AwContents();
200 scoped_ptr<AwContents> pending_contents_;
211 DISALLOW_COPY_AND_ASSIGN(AwContents);
Daw_http_auth_handler.cc62 AwContents* aw_contents = AwContents::FromWebContents(web_contents); in HandleOnUIThread()
Daw_web_contents_delegate.cc64 AwContents* aw_contents = AwContents::FromWebContents(web_contents); in FindReply()
144 AwContents::FromWebContents(source)->SetPendingWebContentsForPopup( in AddNewContents()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwTestBase.java15 import org.chromium.android_webview.AwContents;
81 protected void enableJavaScriptOnUiThread(final AwContents awContents) { in enableJavaScriptOnUiThread()
90 protected void setNetworkAvailableOnUiThread(final AwContents awContents, in setNetworkAvailableOnUiThread()
103 protected void loadUrlSync(final AwContents awContents, in loadUrlSync()
112 protected void loadUrlSyncAndExpectError(final AwContents awContents, in loadUrlSyncAndExpectError()
128 protected void loadUrlAsync(final AwContents awContents, in loadUrlAsync()
141 protected void postUrlSync(final AwContents awContents, in postUrlSync()
153 protected void postUrlAsync(final AwContents awContents, in postUrlAsync()
172 protected void loadDataSync(final AwContents awContents, in loadDataSync()
182 protected void loadDataSyncWithCharset(final AwContents awContents, in loadDataSyncWithCharset()
[all …]
DAwContentsTest.java17 import org.chromium.android_webview.AwContents;
132 AwContents awContents = testView.getAwContents(); in testCreateLoadDestroyManyTimes()
169 return AwContents.getNativeInstanceCount() <= MAX_IDLE_INSTANCES; in testCreateAndGcManyTimes()
177 assertTrue(AwContents.getNativeInstanceCount() >= CONCURRENT_INSTANCES); in testCreateAndGcManyTimes()
178 assertTrue(AwContents.getNativeInstanceCount() <= (i + 1) * CONCURRENT_INSTANCES); in testCreateAndGcManyTimes()
192 return AwContents.getNativeInstanceCount() <= MAX_IDLE_INSTANCES; in testCreateAndGcManyTimes()
197 private int callDocumentHasImagesSync(final AwContents awContents) in callDocumentHasImagesSync()
225 AwContents awContents = testView.getAwContents(); in testDocumentHasImages()
249 final AwContents awContents = testContainer.getAwContents(); in testClearCacheMemoryAndDisk()
302 final AwContents awContents = testContainer.getAwContents(); in testClearCacheInQuickSuccession()
[all …]
DAwContentsClientShouldOverrideUrlLoadingTest.java10 import org.chromium.android_webview.AwContents;
49 private void clickOnLinkUsingJs(final AwContents awContents, in clickOnLinkUsingJs()
133 final AwContents awContents = testContainerView.getAwContents(); in testNotCalledOnLoadUrl()
143 private void waitForNavigationRunnableAndAssertTitleChanged(AwContents awContents, in waitForNavigationRunnableAndAssertTitleChanged()
159 final AwContents awContents = testContainerView.getAwContents(); in testNotCalledOnBackForwardNavigation()
214 final AwContents awContents = testContainerView.getAwContents(); in testCantBlockLoads()
232 final AwContents awContents = testContainerView.getAwContents(); in testCalledBeforeOnPageStarted()
256 final AwContents awContents = testContainerView.getAwContents(); in testDoesNotCauseOnReceivedError()
298 final AwContents awContents = testContainerView.getAwContents(); in doTestNotCalledForAnchorNavigations()
333 final AwContents awContents = testContainerView.getAwContents(); in testCalledWhenLinkClicked()
[all …]
DAwSettingsTest.java20 import org.chromium.android_webview.AwContents;
61 protected final AwContents mAwContents;
65 AwSettingsTestHelper(AwContents awContents, in AwSettingsTestHelper()
145 AwSettingsJavaScriptTestHelper(AwContents awContents, in AwSettingsJavaScriptTestHelper()
189 AwContents awContents, in AwSettingsJavaScriptDynamicTestHelper()
213 AwSettingsPluginsTestHelper(AwContents awContents, in AwSettingsPluginsTestHelper()
254 AwContents awContents, in AwSettingsStandardFontFamilyTestHelper()
294 AwContents awContents, in AwSettingsDefaultFontSizeTestHelper()
336 AwContents awContents, in AwSettingsLoadImagesAutomaticallyTestHelper()
377 AwContents awContents, in AwSettingsImagesEnabledHelper()
[all …]
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()
DAwViewportTest.java9 import org.chromium.android_webview.AwContents;
25 final AwContents awContents = testContainerView.getAwContents(); in testTargetDensityDpi()
62 final AwContents awContents = testContainerView.getAwContents(); in testWideViewportInitialScaleDoesNotExpandFixedLayoutWidth()
88 final AwContents awContents = testContainerView.getAwContents(); in testZeroValuesQuirk()
120 final AwContents awContents = testContainerView.getAwContents(); in testScreenSizeInPhysicalPixelsQuirk()
175 final AwContents awContents = testContainerView.getAwContents(); in testMetaMergeContentQuirk()
207 final AwContents awContents = testContainerView.getAwContents(); in testMetaMergeContentQuirkOverrides()
232 final AwContents awContents = testContainerView.getAwContents(); in testInitialScaleClobberQuirk()
266 final AwContents awContents = testContainerView.getAwContents(); in testNoUserScalableQuirk()
295 private boolean waitUntilScaleBecomes(final float targetScale, final AwContents awContents) in waitUntilScaleBecomes()
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;
42 final AwContents awContents = testContainerView.getAwContents(); in testDataUrl()
58 final AwContents awContents = testContainerView.getAwContents(); in testDataUrlBase64()
75 final AwContents awContents = testContainerView.getAwContents(); in testDataUrlCharset()
85 final AwContents awContents, in loadUrlWithExtraHeadersSync()
142 final AwContents awContents = testContainerView.getAwContents(); in testLoadUrlWithExtraHeaders()
178 final AwContents awContents = testContainerView.getAwContents(); in testNoOverridingOfExistingHeaders()
214 final AwContents awContents = testContainerView.getAwContents(); in testReloadWithExtraHeaders()
248 final AwContents awContents = testContainerView.getAwContents(); in testRedirectAndReloadWithExtraHeaders()
287 final AwContents awContents = testContainerView.getAwContents(); in testRendererNavigationAndGoBackWithExtraHeaders()
DStandaloneAwQuotaManagerBridgeTest.java7 import org.chromium.android_webview.AwContents;
20 assertEquals(AwContents.getNativeInstanceCount(), 0); in testStartup()
DAwContentsClientVisitedHistoryTest.java10 import org.chromium.android_webview.AwContents;
97 AwContents awContents = testView.getAwContents(); in testUpdateVisitedHistoryCallback()
137 AwContents awContents = testView.getAwContents(); in testGetVisitedHistoryExerciseCodePath()
168 AwContents awContents = testView.getAwContents(); in testGetVisitedHistoryCallbackAfterDestroy()
DUserAgentTest.java9 import org.chromium.android_webview.AwContents;
18 private AwContents mAwContents;
DAwContentsClientOnScaleChangedTest.java7 import org.chromium.android_webview.AwContents;
17 private AwContents mAwContents;
DClearHistoryTest.java7 import org.chromium.android_webview.AwContents;
38 final AwContents awContents = testContainerView.getAwContents(); in testClearHistory()
DAwContentsClientGetVideoLoadingProgressViewTest.java9 import org.chromium.android_webview.AwContents;
68 final AwContents awContents = testContainerView.getAwContents(); in testGetVideoLoadingProgressView()
DCookieManagerStartupTest.java11 import org.chromium.android_webview.AwContents;
25 private AwContents mAwContents;
DSaveRestoreStateTest.java10 import org.chromium.android_webview.AwContents;
23 public final AwContents awContents;
153 invalidState.putByteArray(AwContents.SAVE_RESTORE_STATE_KEY,
DAwContentsRenderTest.java11 import org.chromium.android_webview.AwContents;
25 private AwContents mAwContents;
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
DAwTestContainerView.java22 import org.chromium.android_webview.AwContents;
31 private AwContents mAwContents;
32 private AwContents.InternalAccessDelegate mInternalAccessDelegate;
40 public void initialize(AwContents awContents) { in initialize()
48 public AwContents getAwContents() { in getAwContents()
52 public AwContents.InternalAccessDelegate getInternalAccessDelegate() { in getInternalAccessDelegate()
162 info.setClassName(AwContents.class.getName()); in onInitializeAccessibilityNodeInfo()
169 event.setClassName(AwContents.class.getName()); in onInitializeAccessibilityEvent()
180 private class InternalAccessAdapter implements AwContents.InternalAccessDelegate {
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
DJSUtils.java13 import org.chromium.android_webview.AwContents;
29 final AwContents awContents, in clickOnLinkUsingJs()
64 final AwContents awContents, in executeJavaScriptAndWaitForResult()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwZoomControls.java17 private AwContents mAwContents;
21 AwZoomControls(AwContents awContents) { in AwZoomControls()

123