
Follow up to r654240
Apparently on apps that does not end up resizing the FullScreenView from
the WebView, avoiding a resize cause odd problems such as FullScreenView
not getting forwarded key events or not being on top of other views as
it should be. Instead set the initial height to be arbitrarily 5 pixels
less in height. This avoids affecting the compositing pipeline
significantly, since height changes generally has small effects on
layout.
Bug: 1054286
Change-Id: Ia5bbb384a75736784e660567dd7e36bacbc4b5b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2119802
Reviewed-by: Tobias Sargeant <tobiasjs@chromium.org>
Commit-Queue: Bo <boliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#753588}
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.
Android WebView is a content embedder, meaning it depends on code in
//content/
and lower layers (ex. //net/
, //base/
), but does not depend on
sibling layers such as //chrome/
.
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
If you're a chromium team member or contributor and want to make changes to Android WebView, please check out Android WebView 101 (2019) (public slide deck) for an overview of WebView use cases, architecture (single vs. multiprocess, in-process GPU & Network service, etc.), and development/experimentation/release process.
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.