summaryrefslogtreecommitdiff
path: root/src/org/chromium/support_lib_boundary/WebSettingsBoundaryInterface.java
AgeCommit message (Collapse)Author
2023-11-14Add support for get/set WebView Media Integrity API config AndroidX APIAashna
Plumbing for following AndroidX APIs: - getWebViewMediaIntegrityApiStatus - setWebViewMediaIntegrityApiStatus Perform explicit conversion between boundary interface status types and internal config status types in case both accidentally diverge at some point. Design Doc: go/wv-pia-design-androidx Bug: b/301393651 Change-Id: I01bbfde44ea308d13c951750c15363cd99ce5390 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5002172 Reviewed-by: Michael van Ouwerkerk <mvanouwerkerk@chromium.org> Commit-Queue: Aashna Jena <aashnajena@google.com> Auto-Submit: Aashna Jena <aashnajena@google.com> Reviewed-by: Peter Beverloo <peter@chromium.org> Reviewed-by: Peter Pakkenberg <pbirk@chromium.org> Cr-Commit-Position: refs/heads/main@{#1224423} NOKEYCHECK=True GitOrigin-RevId: ab8cc3d83dcf4df23f2b81a4d38112ca0dc42ba3
2023-09-26Add support lib binding for attribution configurationPeter Birk Pakkenberg
Bug: 1473966 Change-Id: Iaec11296be12c47438123037d7edb9e51c6269a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4894425 Commit-Queue: Peter Pakkenberg <pbirk@chromium.org> Reviewed-by: Richard (Torne) Coles <torne@chromium.org> Cr-Commit-Position: refs/heads/main@{#1201615} NOKEYCHECK=True GitOrigin-RevId: d9507a6332ac3629f3c7feba4380bfe75e6af98d
2023-08-28[WebView] Implement support library glue for user-agent metadataVictor Tan
Add boundary interface and support lib glue for set/get user-agent metadata. Change-Id: Ib9be1db7cc4555efecb933892cf273c4bf4955e6 Bug: b/294183509 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4783052 Reviewed-by: Peter Pakkenberg <pbirk@chromium.org> Commit-Queue: Victor Tan <victortan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1188979} NOKEYCHECK=True GitOrigin-RevId: def88fdaad0a1dd89b932b366543a72459b285d9
2023-06-16[WebView] Remove content relationship verification codeSusanne Westphal
Bug: 1454473 Change-Id: Ib25c2114f9b92e6160db86498f520f9276f46ecd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4608053 Reviewed-by: Bo Liu <boliu@chromium.org> Commit-Queue: Susanne Westphal <swestphal@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Reviewed-by: Richard Coles <torne@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1158928} NOKEYCHECK=True GitOrigin-RevId: 334d01268df246e959b238956ab956413562edfb
2023-01-26[WebView][DAL] Add boundary interface and support lib glue for ↵Susanne Westphal
experimentally restricted content. Bug: 1376958 Change-Id: I326853634f8ccabd85807489c4b18bead3241c8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3967865 Reviewed-by: Richard Coles <torne@chromium.org> Commit-Queue: Susanne Westphal <swestphal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1097552} NOKEYCHECK=True GitOrigin-RevId: 30a0b23eed7644322b01455068c3b25c8fe3aba9
2022-09-28[aw] Remove unused boundary interface methodsPeter Birk Pakkenberg
These methods were never unhidden, and are no longer in use by the androidx.webkit library. The feature constant that guarded their use has also been removed from the array of supported features. Bug: 1295213 Change-Id: If4deabc81bda0a6d244832be21163edfbe79a8b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3921798 Reviewed-by: Richard Coles <torne@chromium.org> Auto-Submit: Peter Pakkenberg <pbirk@chromium.org> Commit-Queue: Richard Coles <torne@chromium.org> Cr-Commit-Position: refs/heads/main@{#1052655} NOKEYCHECK=True GitOrigin-RevId: 39e913ff59281b26f0b49b94a6eec19f3900706d
2022-09-22[aw] Add allowlist for X-Requested-With headerPeter Birk Pakkenberg
This CL reuses the origin matching originally developed for components/js_injection, and moves the computation of the default header mode to native code. The CL adds new API methods, and replaces the original API with stubs, to be removed once the AndroidX library has been updated to use the new methods. Bug: 1295213 Change-Id: Ic96d85d1e159a86461af5b63cac6d87c0ff6497e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3822948 Reviewed-by: Andrey Zaytsev <andzaytsev@google.com> Reviewed-by: Richard Coles <torne@chromium.org> Commit-Queue: Peter Pakkenberg <pbirk@chromium.org> Cr-Commit-Position: refs/heads/main@{#1050218} NOKEYCHECK=True GitOrigin-RevId: 020b57aa6fe80bb66a38cc132a0bbd7afeb26359
2022-09-08Update copyright headers in android_webview/ 3/3Avi Drissman
The methodology used is documented in https://crbug.com/1098010#c34. An earlier version of this CL, https://crrev.com/c/3879643, was reverted due to an issue that was resolved with https://crrev.com/c/3881211. No-Try: true Bug: 1098010 Change-Id: Iaea33536d02a9ea5b57eec31d61353fd1e6a4ed1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3883861 Commit-Queue: Mark Mentovai <mark@chromium.org> Auto-Submit: Avi Drissman <avi@chromium.org> Owners-Override: Avi Drissman <avi@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Cr-Commit-Position: refs/heads/main@{#1044742} NOKEYCHECK=True GitOrigin-RevId: 4a6ec7ef6b441998004d3938645ddb52b5752c2c
2022-09-07Revert "Update copyright headers in android_webview/ 3/3"Daniel Cheng
This reverts commit 981595d747e2272e420a5892aaa06498529f9127. Reason for revert: Broke the android-binary-size trybot. Example failure: https://ci.chromium.org/ui/p/chromium/builders/try/android-binary-size/1225625/overview Original change's description: > Update copyright headers in android_webview/ 3/3 > > The methodology used is documented in https://crbug.com/1098010#c15. > > No-Try: true > Bug: 1098010 > Change-Id: I2a7243a21102d9ff2886e7ecb3f664fd1acbc486 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3879643 > Commit-Queue: Avi Drissman <avi@chromium.org> > Owners-Override: Avi Drissman <avi@chromium.org> > Auto-Submit: Avi Drissman <avi@chromium.org> > Reviewed-by: Mark Mentovai <mark@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1044093} Bug: 1098010 Change-Id: Ide24e688f02c133cf26f6d7bf4916e188de724c7 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3880948 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Owners-Override: Daniel Cheng <dcheng@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1044212} NOKEYCHECK=True GitOrigin-RevId: 2dfc20ba1cf2d082d5104f675239407a2321cde2
2022-09-07Update copyright headers in android_webview/ 3/3Avi Drissman
The methodology used is documented in https://crbug.com/1098010#c15. No-Try: true Bug: 1098010 Change-Id: I2a7243a21102d9ff2886e7ecb3f664fd1acbc486 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3879643 Commit-Queue: Avi Drissman <avi@chromium.org> Owners-Override: Avi Drissman <avi@chromium.org> Auto-Submit: Avi Drissman <avi@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Cr-Commit-Position: refs/heads/main@{#1044093} NOKEYCHECK=True GitOrigin-RevId: 981595d747e2272e420a5892aaa06498529f9127
2022-06-23Expose EnterpriseAuthenticationAppLinkPolicy APIsAyush Sharma
Bug: b/201408457 Change-Id: I956f453fbc0b4adcaf33341542c4cc1b05ec1abb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3709074 Reviewed-by: Susanne Westphal <swestphal@chromium.org> Commit-Queue: Ayush Sharma <ayushsha@google.com> Reviewed-by: Richard Coles <torne@chromium.org> Cr-Commit-Position: refs/heads/main@{#1017362} NOKEYCHECK=True GitOrigin-RevId: 99a8092d711a98cb7afa41e9c8d06398a1ff72f6
2022-03-02Aw: Add AlgorithmicDarkeningAllowed to boundary interfaceMichael Bai
Bug: 1287883 Change-Id: I59f9316007cd4b43c85e9ad5f454819bc67e84d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3498326 Reviewed-by: Richard Coles <torne@chromium.org> Commit-Queue: Michael Bai <michaelbai@chromium.org> Cr-Commit-Position: refs/heads/main@{#976839} NOKEYCHECK=True GitOrigin-RevId: a3f419cb3268f372f2f366d9c03c5d88ad660e99
2022-02-18Expose XRequestedWith api in glue code for AndroidXPeter Birk Pakkenberg
This commit does not expose the CONSTANT_WEBVIEW enum value, as it is intended as a fallback for rollout testing, and is not at this point intended for developer usage. Bug: 1295213 Change-Id: Ia6af00ead6eb5f97e90e9eae61954002f6f4754a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3468347 Auto-Submit: Peter Pakkenberg <pbirk@chromium.org> Reviewed-by: Peter Beverloo <peter@chromium.org> Commit-Queue: Peter Pakkenberg <pbirk@chromium.org> Cr-Commit-Position: refs/heads/main@{#972998} NOKEYCHECK=True GitOrigin-RevId: e25438c20b4669530580c3e0c311e60e9d5e506c
2022-01-13android_webview: add no-op boundary interfaces.Adam Langley
This change adds WebView boundary interfaces for supporting WebAuthn in WebViews. They are currently no-ops, but the full change is huge so I'm trying to split it up. BUG=1284805 Change-Id: I8ce75d7077e9db7d15c071e27cf9529a4b94d2a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3368924 Reviewed-by: Richard Coles <torne@chromium.org> Auto-Submit: Adam Langley <agl@chromium.org> Reviewed-by: Peter Beverloo <peter@chromium.org> Commit-Queue: Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/main@{#958718} NOKEYCHECK=True GitOrigin-RevId: aa5dd97385dcf06a2d517a48207f11c29f03e863
2019-09-18[WV Support Library]: Add boundary interface and support lib glueAnna Malova
for force dark behaviour (force dark vs media query). Rename corresponding methods. Bug: 1001516 Change-Id: I7af3bb835ddd2f9761ffe350e626ef10d7321087 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1796673 Commit-Queue: Anna Malova <amalova@chromium.org> Reviewed-by: Tobias Sargeant <tobiasjs@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#697640} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 65274319fc5838891afdef97834eb0d9987b4844
2019-04-16[WebView Support Library] Add boundary interface and support lib glue for ↵androidx-jetifier-releaseAnna Malova
forceDark API. Bug: 952302 Change-Id: Idcc5d72198612065da66544180db33856f6dcba7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1565881 Reviewed-by: Nate Fischer <ntfschr@chromium.org> Commit-Queue: Anna Malova <amalova@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#651231} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 824095ea00683e1278ce9754f39b09d4f7d86b9c
2019-02-22Replaced 'Should' with 'Will' per Android API council guidanceChristian O. Andersson
See https://crrev.com/c/1185001 for details Design doc: https://docs.google.com/document/d/188BbgvTdhKf8bXikCL-JMduEclJOd9GxhKu79hmSVdo/edit Test: run_webview_instrumentation_test_apk -f AwSettingsTest#testWillSuppressErrorPage Change-Id: I71603bf906b58c9c42cb06ecf1abcee10360d5cb Reviewed-on: https://chromium-review.googlesource.com/c/1482900 Auto-Submit: Christian O. Andersson <cricke@chromium.org> Reviewed-by: Tobias Sargeant <tobiasjs@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Robert Sesek <rsesek@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#634775} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: e17c03864c35247885ce6435d864f8a2a6668702
2019-01-25Enable suppression of error page from the Java sideandroid-arch-navigation-releaseChristian O. Andersson
Design doc: https://docs.google.com/document/d/188BbgvTdhKf8bXikCL-JMduEclJOd9GxhKu79hmSVdo/edit We wish to provide a means of optionally suppressing the display of the webview error page so that applications that wish to display their own error content may do so without presenting a poor user experience. Test: run_webview_instrumentation_test_apk -f AwSettingsTest#testShouldSuppressErrorPage Change-Id: I15c42acd7d562e7d37bb4f84d92267db49f0a55a Reviewed-on: https://chromium-review.googlesource.com/c/1185001 Auto-Submit: Christian O. Andersson <cricke@chromium.org> Reviewed-by: Bo <boliu@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Reviewed-by: Changwan Ryu <changwan@chromium.org> Reviewed-by: Nate Fischer <ntfschr@chromium.org> Commit-Queue: Christian O. Andersson <cricke@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#626102} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 822effcf1823d57f2aa2933c273156a018e25bf5
2018-02-26Add support for WebSettingsCompat.Gustav Sennton
Also add a webkit-to-compat converter object which takes webkit objects, and returns the implementation for the corresponding Compat-object. E.g. WebSettings -> implementation for WebSettingsCompat. Bug: 812657 Change-Id: Ifb5507ec3f4f620621ab05b73d643abcc184cf85 Reviewed-on: https://chromium-review.googlesource.com/922623 Reviewed-by: Bo <boliu@chromium.org> Commit-Queue: Gustav Sennton <gsennton@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#539153} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: c3fcc3e0d7908ae3f1f9bb6b70365780624be278
2018-02-09Rename boundary interfaces, and pass WebView to WVFP.createWebView.Gustav Sennton
Suffix all boundary interfaces with 'BoundaryInterfaces'. Pass WebView instead of an Object representing a WebViewProvider to the method for creating support library WebViewProviders - the chromium-side is compiled against the system sdk so we can fetch the corresponding WebViewProvider from the given WebView from there. Bug: 788177 Change-Id: I51d71ecab79624902031e5fdab247f7d903ae335 Reviewed-on: https://chromium-review.googlesource.com/911088 Reviewed-by: Richard Coles <torne@chromium.org> Commit-Queue: Gustav Sennton <gsennton@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#535714} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 4235bf67f2a85c2e044b22b4cf37e2243c1912ac