OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_BROWSER_COMMANDS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ |
6 #define IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ | 6 #define IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ |
7 | 7 |
8 // Protocol for commands that will generally be handled by the "current tab", | 8 // Protocol for commands that will generally be handled by the "current tab", |
9 // which in practice is the BrowserViewController instance displaying the tab. | 9 // which in practice is the BrowserViewController instance displaying the tab. |
10 @protocol BrowserCommands | 10 @protocol BrowserCommands |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 // Reload the current web page | 24 // Reload the current web page |
25 - (void)reload; | 25 - (void)reload; |
26 | 26 |
27 // Show the share sheet for the current page. | 27 // Show the share sheet for the current page. |
28 - (void)sharePage; | 28 - (void)sharePage; |
29 | 29 |
30 // Bookmark the current page. | 30 // Bookmark the current page. |
31 - (void)bookmarkPage; | 31 - (void)bookmarkPage; |
32 | 32 |
| 33 // Show the tools menu. |
| 34 - (void)showToolsMenu; |
| 35 |
33 @end | 36 @end |
34 | 37 |
35 #endif // IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ | 38 #endif // IOS_CHROME_BROWSER_UI_COMMANDS_BROWSER_COMMANDS_H_ |
OLD | NEW |