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

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

Issue 2786893002: [ios] Dispatcher for tab_strip and tab_grid. (Closed)
Patch Set: Created 3 years, 9 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 2faa8aeb82cc0c9369aae54efe2950aebe2cb79b..a7f64b9d356f34cfd30dfc4588d88f4872700111 100644
--- a/ios/clean/chrome/browser/ui/commands/tab_grid_commands.h
+++ b/ios/clean/chrome/browser/ui/commands/tab_grid_commands.h
@@ -8,8 +8,19 @@
// Command protocol for commands relating to the tab grid UI.
// (Commands are for communicating into or within the coordinator layer).
@protocol TabGridCommands
+
// Display the tab grid.
- (void)showTabGrid;
+
+// Display the tab corresponding to |index|.
+- (void)showTabGridTabAtIndex:(int)index;
+
+// Remove tab corresponding to |index|.
+- (void)closeTabGridTabAtIndex:(int)index;
+
+// Create new tab and display it.
+- (void)createAndShowNewTabInTabGrid;
+
@end
#endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_

Powered by Google App Engine
This is Rietveld 408576698