[Suggestions] Separate init trigger from bottom sheet opening
We want the initialisation of the home sheet to happen when the bottom sheet opens and shows the home sheet. However, even though it's the default sheet, the bottom sheet can also open to show omnibox suggestions. In that case the home sheet is not shown and should not be loaded. This CL makes initialisation happen the first time the sheet is shown since the opening of the bottom sheet. Making the home sheet not be selected when the omnibox suggestions are shown is out of scope and tracked in https://crbug.com/731128 Bug: 735945 Change-Id: I61406ea0ff4207370d86d3fd0712e339813b7ff7 Reviewed-on: https://chromium-review.googlesource.com/563309Reviewed-by:Matthew Jones <mdjones@chromium.org> Commit-Queue: Nicolas Dossou-Gbété <dgn@chromium.org> Cr-Commit-Position: refs/heads/master@{#488189}
Showing
Please register or sign in to comment