Chromium Code Reviews
DescriptionDisplay the web view after commit for non-user-initiated loads.
The toolbar's visibility and URL is dependent on the visible URL.
However, the previous implementation of |-ensureWebViewCreated| would
immediately add web view to the hierarchy, even for non-user-initiated
loads. This CL updates the web view display logic so that it is
displayed at the same time as the toolbar updating.
BUG=703222
Review-Url: https://codereview.chromium.org/2820013003
Cr-Commit-Position: refs/heads/master@{#465365}
Committed: https://chromium.googlesource.com/chromium/src/+/cd2e9b497d8623d1c2844b6df874e42f865c2631
Patch Set 1 #
Total comments: 2
Patch Set 2 : early return => DCHECK #Patch Set 3 : DCHECK #
Total comments: 2
Patch Set 4 : self.webView => _webView #Patch Set 5 : unittest fix #Messages
Total messages: 19 (8 generated)
|