| 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_CLEAN_CHROME_BROWSER_UI_COMMANDS_SETTINGS_COMMANDS_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_SETTINGS_COMMANDS_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_SETTINGS_COMMANDS_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_SETTINGS_COMMANDS_H_ |
| 7 | 7 |
| 8 // Command protocol for commands relating to the Settings UI. | 8 // Commands relating to the Settings UI. |
| 9 // (Commands are for communicating into or within the coordinator layer). | |
| 10 @protocol SettingsCommands | 9 @protocol SettingsCommands |
| 11 // Display the settings UI. | 10 // Display the settings UI. |
| 12 - (void)showSettings; | 11 - (void)showSettings; |
| 13 // Dismiss the settings UI. | 12 // Dismiss the settings UI. |
| 14 - (void)closeSettings; | 13 - (void)closeSettings; |
| 15 @end | 14 @end |
| 16 | 15 |
| 17 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_SETTINGS_COMMANDS_H_ | 16 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_SETTINGS_COMMANDS_H_ |
| OLD | NEW |