| 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_ACTIONS_TOOLS_MENU_ACTIONS_H_ | |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_TOOLS_MENU_ACTIONS_H_ | |
| 7 | |
| 8 #import <Foundation/Foundation.h> | |
| 9 | |
| 10 // Target/Action methods relating to the Tools menu UI. | |
| 11 // (Actions should only be used to communicate into or between the View | |
| 12 // Controller layer). | |
| 13 @protocol ToolsMenuActions | |
| 14 | |
| 15 @optional | |
| 16 | |
| 17 // Closes the Tools menu. Most menu items should send this message | |
| 18 // in addition to other messages they send. | |
| 19 - (void)closeToolsMenu:(id)sender; | |
| 20 | |
| 21 // Displays the Tools menu. | |
| 22 - (void)showToolsMenu:(id)sender; | |
| 23 | |
| 24 // Displays the Share menu. | |
| 25 - (void)showShareMenu:(id)sender; | |
| 26 | |
| 27 @end | |
| 28 | |
| 29 #endif // IOS_CLEAN_CHROME_BROWSER_UI_ACTIONS_TOOLS_MENU_ACTIONS_H_ | |
| OLD | NEW |