Index: ios/clean/chrome/browser/ui/tab/tab_coordinator.mm |
diff --git a/ios/clean/chrome/browser/ui/tab/tab_coordinator.mm b/ios/clean/chrome/browser/ui/tab/tab_coordinator.mm |
index bf46bc87150d3da92af6ec7ce5c98c8f25145f6c..54f9c3009b1c0f050cee75b54ab60ff987bcedf0 100644 |
--- a/ios/clean/chrome/browser/ui/tab/tab_coordinator.mm |
+++ b/ios/clean/chrome/browser/ui/tab/tab_coordinator.mm |
@@ -11,6 +11,7 @@ |
#include "ios/chrome/browser/chrome_url_constants.h" |
#import "ios/clean/chrome/browser/ui/animators/zoom_transition_animator.h" |
#import "ios/clean/chrome/browser/ui/commands/tab_commands.h" |
+#import "ios/clean/chrome/browser/ui/commands/tab_strip_commands.h" |
#import "ios/clean/chrome/browser/ui/find_in_page/find_in_page_coordinator.h" |
#import "ios/clean/chrome/browser/ui/ntp/ntp_coordinator.h" |
#import "ios/clean/chrome/browser/ui/tab/tab_container_view_controller.h" |
@@ -61,8 +62,10 @@ |
selector:@selector(broadcastTabStripVisible:)]; |
CommandDispatcher* dispatcher = self.browser->dispatcher(); |
- // TabCommands |
+ // Register Commands |
[dispatcher startDispatchingToTarget:self forSelector:@selector(loadURL:)]; |
+ [dispatcher startDispatchingToTarget:self |
+ forSelector:@selector(showTabStrip)]; |
WebCoordinator* webCoordinator = [[WebCoordinator alloc] init]; |
webCoordinator.webState = self.webState; |
@@ -207,4 +210,10 @@ animationControllerForDismissedController:(UIViewController*)dismissed { |
self.webState->GetNavigationManager()->LoadURLWithParams(params); |
} |
+#pragma mark - TabStripCommands |
+ |
+- (void)showTabStrip { |
+ self.viewController.tabStripVisible = YES; |
+} |
+ |
@end |