
Currently, the InsetObserver is managed by the WindowAndroid, which is only created by certain activities. With edge-to-edge everywhere, all activities will need access to the InsetObserver to properly observe the window insets, so this change passes the InsetObserver to ChromeBaseAppCompatActivity. The InsetObserver should be passed to any WindowAndroid that needs access to it through the WindowAndroid constructor. Bug: 374641218 Change-Id: Id42a26f7c9848b50fc5fde49074583719e645413 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5945405 Reviewed-by: Tomasz Wiszkowski <ender@google.com> Reviewed-by: Vigen Issahhanjan <vigeni@google.com> Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Andrew Grieve <agrieve@chromium.org> Commit-Queue: Charles Hager <clhager@google.com> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Reviewed-by: Richard (Torne) Coles <torne@chromium.org> Reviewed-by: Shakti Sahu <shaktisahu@chromium.org> Reviewed-by: Wenyu Fu <wenyufu@chromium.org> Reviewed-by: Antonio Rivera <antoniori@google.com> Cr-Commit-Position: refs/heads/main@{#1373467}
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.