OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef IOS_CHROME_BROWSER_UI_COMMANDS_TAB_COMMANDS_H_ | |
6 #define IOS_CHROME_BROWSER_UI_COMMANDS_TAB_COMMANDS_H_ | |
7 | |
8 // ====== New Architecture ===== | |
9 // = This code is only used in the new iOS Chrome architecture. = | |
10 // ============================================================================ | |
11 | |
12 // Command protocol for commands relating to tabs. | |
13 // (Commands are for communicating into or within the coordinator layer). | |
14 @protocol TabCommands | |
15 // Display the tab corresponding to |indexPath|. The receiver determines how | |
16 // this correspondence relates to the tab model(s) it knows about. | |
17 - (void)showTabAtIndexPath:(NSIndexPath*)indexPath; | |
18 @end | |
19 #endif // IOS_CHROME_BROWSER_UI_COMMANDS_TAB_COMMANDS_H_ | |
OLD | NEW |