[ios] Properly dismiss history in tab grid
History coordinator can now be started on top of the tab grid. This history coordinator was not properly being dismissed inside main_controller's |-dismissModalDialogsWithCompletion:|. As part of fixing dismissal, this CL also fixes a bookkeeping flaw in main_controller. Previously, main_controller conflated the existence of |self.currentBVC| with the BVC being presented and active. This CL changes that logic to use |-isTabSwitcherActive| instead. Bug : 852243 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I93d5efb33a2de8eaed7b0472fa2994c14603d11a Reviewed-on: https://chromium-review.googlesource.com/1098555 Commit-Queue: edchin <edchin@chromium.org> Reviewed-by:Rohit Rao <rohitrao@chromium.org> Reviewed-by:
Mark Cogan <marq@chromium.org> Reviewed-by:
edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#567172}
Showing
Please register or sign in to comment