OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ |
| 7 |
| 8 // Protocol for commands that will generally be handled by the "current tab", |
| 9 // which in practice is the BrowserViewController instance displaying the tab. |
| 10 @protocol BrowserCommands |
| 11 |
| 12 // Close the current tab. |
| 13 - (void)closeCurrentTab; |
| 14 |
| 15 @end |
| 16 |
| 17 #endif // IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ |
OLD | NEW |