Chromium Code Reviews| 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_CLEAN_CHROME_BROWSER_UI_COMMANDS_TOOLS_MENU_COMMANDS_H_ | |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TOOLS_MENU_COMMANDS_H_ | |
| 7 | |
| 8 // Command protocol for commands related to the ToolsMenu. | |
| 9 @protocol ToolsMenuCommands | |
| 10 @optional | |
|
lpromero
2017/03/31 06:34:38
Why @optional?
When adding optional methods to a p
sczs
2017/03/31 17:32:57
I was thinking about the same. Depending on how we
| |
| 11 // Shows the tools menu. | |
| 12 - (void)showToolsMenu; | |
| 13 | |
| 14 // Closes the tools menu. | |
| 15 - (void)closeToolsMenu; | |
| 16 | |
| 17 // Displays the Share menu. | |
| 18 - (void)showShareMenu; | |
| 19 @end | |
| 20 | |
| 21 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TOOLS_MENU_COMMANDS_H_ | |
| OLD | NEW |