| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ |
| 7 | 7 |
| 8 // Command protocol for commands relating to the tab grid UI. | 8 // Commands relating to tab grid UI. |
| 9 // (Commands are for communicating into or within the coordinator layer). | |
| 10 @protocol TabGridCommands | 9 @protocol TabGridCommands |
| 11 // Display the tab grid. | 10 // Display the tab grid. |
| 12 - (void)showTabGrid; | 11 - (void)showTabGrid; |
| 12 // Display the tab corresponding to |index|. |
| 13 - (void)showTabGridTabAtIndex:(int)index; |
| 14 // Remove tab corresponding to |index|. |
| 15 - (void)closeTabGridTabAtIndex:(int)index; |
| 16 // Create new tab and display it. |
| 17 - (void)createAndShowNewTabInTabGrid; |
| 13 @end | 18 @end |
| 14 | 19 |
| 15 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ | 20 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ |
| OLD | NEW |