commit | bac9e16fb3877aef8aad360be5ab806daf454e81 | [log] [tgz] |
---|---|---|
author | Matthew Jones <mdjones@chromium.org> | Tue Jun 19 19:54:12 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 19 19:54:12 2018 |
tree | 5dd8d13d11c4cfb2219cd3a0ba825f60c8e755b1 | |
parent | d1d8274829c9686c2f6dc525f0d9114f7f48ad74 [diff] |
Explicitly set scrim in location bar Since the scrim is now created programmatically, it takes a bit of extra time after chrome starts to be able to get access to it. In the case of the location bar, its design allows users to focus it prior to the rest of chrome being loaded. Because of this, it is possible to get the omnibox focused without the scrim, locking up the page under it. This change explicitly sets the scrim when it becomes available in ChromeActivity and then calls the scrim update method in case it is needed. Bug: 850848 Change-Id: Ia0a25a0c6e8f9c2d64c914ebca5bbcf9e14601ad Reviewed-on: https://chromium-review.googlesource.com/1101963 Commit-Queue: Matthew Jones <mdjones@chromium.org> Reviewed-by: Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#568579}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .