Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: ios/clean/chrome/browser/ui/commands/tab_grid_commands.h

Issue 2921833002: [iOS Clean] Created OverlayService.
Patch Set: self review Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698