OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_STRIP_COMMANDS_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_STRIP_COMMANDS_H_ |
6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_STRIP_COMMANDS_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_STRIP_COMMANDS_H_ |
7 | 7 |
8 // Commands relating to tab strip UI. | 8 // Commands relating to tab strip UI. |
9 @protocol TabStripCommands | 9 @protocol TabStripCommands |
| 10 @optional |
10 // Display the tab corresponding to |index|. | 11 // Display the tab corresponding to |index|. |
11 - (void)showTabStripTabAtIndex:(int)index; | 12 - (void)showTabStripTabAtIndex:(int)index; |
12 // Remove tab corresponding to |index|. | 13 // Remove tab corresponding to |index|. |
13 - (void)closeTabStripTabAtIndex:(int)index; | 14 - (void)closeTabStripTabAtIndex:(int)index; |
| 15 // Display the tab strip. |
| 16 - (void)showTabStrip; |
14 @end | 17 @end |
15 | 18 |
16 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_STRIP_COMMANDS_H_ | 19 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_STRIP_COMMANDS_H_ |
OLD | NEW |