
Before this patch, the interface for PaymentRequestTestWebPageContents was difficult to extend, because the test page parameters were being passed into its constructor and build() method. Typical usage for this class was: new PaymentRequestTestWebPageContents(methodOne, methodTwo) .build(/* multiplePaymentMethods= */ true); This patch removes parameters from the PaymentRequestTestWebPageContents class constructor and build() method and, instead, adds a builder-like method addMethod(), which can be called multiple times in a row, before building the test checkout web page. After this patch, the PaymentRequestTestWebPageContents class is easier to extend with new functionality, such as shipping address or contact information support. The new usage for this class is: new PaymentRequestTestWebPageContents().addMethod(methodOne) .addMethod(methodTwo) .build(); Fixed: 401515769 Change-Id: If68063c1bded1508001fd8b39c5c9fe97bbcb71b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6335797 Reviewed-by: Slobodan Pejic <slobodan@chromium.org> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1430980}
Android WebView
Android WebView is an Android system component for displaying web content.
WebView (and
the related Android classes) are implemented by the code in the
//android_webview/
folder.
This directory contains the Android WebView implementation, as well as the implementation for the AndroidX Webkit support library.
Overview for Chromium team members and contributors
Please see WebView Architecture.
Want to use WebView in an Android app?
Please consult our API documentation and app development guides:
Want to build and install WebView on a device?
See our Chromium developer documentation.
Public mailing lists
- android-webview-dev@chromium.org: external discussion group for WebView developers and interested community members.
- android-webview-reviews@chromium.org: subscribe to code reviews affecting Android WebView code.