• Mark Cogan's avatar
    [iOS] TabSwitcher cleanup, part one · ab7c15df
    Mark Cogan authored
    This CL starts to clean up the TabSwitcher interactions. It:
    
    - removes unused methods from TabSwitcher
    - Clarifies in MainController that the tab switcher is always the tab grid.
    - Factors away the dismissTabSwitcherWithoutAnimationInModel: method in MainController, which was only called from one place.
    - Removes a call to displayCurrentBVCAndFocusOmnibox: which was always a no-op for the tab grid.
    
    Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
    Change-Id: Id911796f0e0d419da79aaf2181c7adca64f6c558
    Reviewed-on: https://chromium-review.googlesource.com/c/1249088Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
    Commit-Queue: Mark Cogan <marq@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#601587}
    ab7c15df
main_controller.mm 105 KB