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 // Commands relating to tab grid UI. | 8 // Commands relating to tab grid UI. |
9 @protocol TabGridCommands | 9 @protocol TabGridCommands |
10 // Display the tab grid. | 10 // Display the tab grid. |
11 - (void)showTabGrid; | 11 - (void)showTabGrid; |
12 // Display the tab corresponding to |index|. | 12 // Display the tab corresponding to |index|. |
13 - (void)showTabGridTabAtIndex:(int)index; | 13 - (void)showTabGridTabAtIndex:(int)index; |
14 // Remove tab corresponding to |index|. | 14 // Remove tab corresponding to |index|. |
15 - (void)closeTabGridTabAtIndex:(int)index; | 15 - (void)closeTabGridTabAtIndex:(int)index; |
16 // Create new tab and display it. | 16 // Create new tab and display it. |
17 - (void)createAndShowNewTabInTabGrid; | 17 - (void)createAndShowNewTabInTabGrid; |
18 // Shows the tab that displays the WebStateLists's active WebState's content. | |
19 - (void)showTabGridTabForActiveWebState; | |
marq (ping after 24h)
2017/06/14 10:02:32
If the caller knows the index of the active web st
kkhorimoto
2017/06/15 08:26:28
Yep, this is not necessary anymore; removed.
| |
18 @end | 20 @end |
19 | 21 |
20 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ | 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_GRID_COMMANDS_H_ |
OLD | NEW |