| 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_CHROME_BROWSER_UI_COMMANDS_TOOLBAR_COMMANDS_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TOOLBAR_COMMANDS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_COMMANDS_TOOLBAR_COMMANDS_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TOOLBAR_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 the toolbar UI. | 12 // Command protocol for commands relating to the toolbar UI. |
| 13 // (Commands are for communicating into or within the coordinator layer). | 13 // (Commands are for communicating into or within the coordinator layer). |
| 14 @protocol ToolbarCommands | 14 @protocol ToolbarCommands |
| 15 // Shows the tools menu. | 15 // Shows the tools menu. |
| 16 - (void)showToolsMenu; | 16 - (void)showToolsMenu; |
| 17 // Closes the tools menu. | 17 // Closes the tools menu. |
| 18 - (void)closeToolsMenu; | 18 - (void)closeToolsMenu; |
| 19 @end | 19 @end |
| 20 | 20 |
| 21 #endif // IOS_CHROME_BROWSER_UI_COMMANDS_TOOLBAR_COMMANDS_H_ | 21 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_TOOLBAR_COMMANDS_H_ |
| OLD | NEW |