Index: ios/clean/chrome/browser/ui/commands/tab_grid_commands.h |
diff --git a/ios/clean/chrome/browser/ui/commands/tab_grid_commands.h b/ios/clean/chrome/browser/ui/commands/tab_grid_commands.h |
index d9351f59647770fd061320d0f8e9fe82e8f900c0..e800a1a19157b68ff5a770eba62a522abc2e207b 100644 |
--- a/ios/clean/chrome/browser/ui/commands/tab_grid_commands.h |
+++ b/ios/clean/chrome/browser/ui/commands/tab_grid_commands.h |
@@ -5,6 +5,10 @@ |
#ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ |
#define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ |
+namespace web { |
+class WebState; |
+} |
+ |
// Commands relating to tab grid UI. |
@protocol TabGridCommands |
// Display the tab grid. |
@@ -15,6 +19,8 @@ |
- (void)closeTabGridTabAtIndex:(int)index; |
// Create new tab and display it. |
- (void)createAndShowNewTabInTabGrid; |
+// Shows the tab that is displaying |webState|'s content. |
+- (void)showTabGridTabWithWebState:(const web::WebState*)webState; |
@end |
#endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ |