[WebLayer] Always position new browser controls in onLayout
This CL partially fixes an issue where the browser controls wouldn't be visible during page loads. This was caused by setView hiding the controls initially until it got positioning information from the renderer about where it wanted the controls to be. During page loads, this positioning information doesn't come because compositor commits are paused, which means the controls can be hidden for a couple seconds. Bug: 1128391 Change-Id: Iaa6b3dd1d7ef65523d19dddd94587aec9cbc6ffd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2412810Reviewed-by:Bo <boliu@chromium.org> Commit-Queue: Robbie McElrath <rmcelrath@chromium.org> Cr-Commit-Position: refs/heads/master@{#808050}
Showing
Please register or sign in to comment