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 // ====== New Architecture ===== |
| 6 // = This code is only used in the new iOS Chrome architecture. = |
| 7 // ============================================================================ |
| 8 |
| 9 #ifndef IOS_CHROME_BROWSER_UI_ACTIONS_TOOLS_MENU_ACTIONS_H_ |
| 10 #define IOS_CHROME_BROWSER_UI_ACTIONS_TOOLS_MENU_ACTIONS_H_ |
| 11 |
| 12 #import <Foundation/Foundation.h> |
| 13 |
| 14 // Target/Action methods relating to the Tools menu UI. |
| 15 @protocol ToolsMenuActions |
| 16 |
| 17 @optional |
| 18 |
| 19 // Closes the Tools menu. Most menu items should send this message |
| 20 // in addition to other messages they send. |
| 21 - (void)closeToolsMenu:(id)sender; |
| 22 |
| 23 // Displays the Tools menu. |
| 24 - (void)showToolsMenu:(id)sender; |
| 25 |
| 26 @end |
| 27 |
| 28 #endif // IOS_CHROME_BROWSER_UI_ACTIONS_TOOLS_MENU_ACTIONS_H_ |
OLD | NEW |