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

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: Update showcase. 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..d9351f59647770fd061320d0f8e9fe82e8f900c0 100644
--- a/ios/clean/chrome/browser/ui/commands/tab_grid_commands.h
+++ b/ios/clean/chrome/browser/ui/commands/tab_grid_commands.h
@@ -5,11 +5,16 @@
#ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_
#define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_
-// Command protocol for commands relating to the tab grid UI.
-// (Commands are for communicating into or within the coordinator layer).
+// Commands relating to tab grid UI.
@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_
« no previous file with comments | « ios/clean/chrome/browser/ui/commands/tab_commands.h ('k') | ios/clean/chrome/browser/ui/commands/tab_strip_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698