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

Side by Side Diff: ios/clean/chrome/browser/ui/commands/tab_commands.h

Issue 2703633005: [tab_grid] Hack-in close tab. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_COMMANDS_H_ 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_COMMANDS_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_COMMANDS_H_ 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_COMMANDS_H_
7 7
8 // ====== New Architecture ===== 8 // ====== New Architecture =====
9 // = This code is only used in the new iOS Chrome architecture. = 9 // = This code is only used in the new iOS Chrome architecture. =
10 // ============================================================================ 10 // ============================================================================
11 11
12 // Command protocol for commands relating to tabs. 12 // Command protocol for commands relating to tabs.
13 // (Commands are for communicating into or within the coordinator layer). 13 // (Commands are for communicating into or within the coordinator layer).
14 @protocol TabCommands 14 @protocol TabCommands
15 // Display the tab corresponding to |indexPath|. The receiver determines how 15 // Display the tab corresponding to |indexPath|. The receiver determines how
16 // this correspondence relates to the tab model(s) it knows about. 16 // this correspondence relates to the tab model(s) it knows about.
17 - (void)showTabAtIndexPath:(NSIndexPath*)indexPath; 17 - (void)showTabAtIndexPath:(NSIndexPath*)indexPath;
18
19 // Remove tab from the tab model(s) the receiver knows about.
20 - (void)closeTabAtIndexPath:(NSIndexPath*)indexPath;
18 @end 21 @end
19 22
20 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_COMMANDS_H_ 23 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TAB_COMMANDS_H_
OLDNEW
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698