| 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_NAVIGATION_COMMANDS_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_NAVIGATION_COMMANDS_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_NAVIGATION_COMMANDS_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_NAVIGATION_COMMANDS_H_ |
| 7 | 7 |
| 8 // Commands relating to web page navigation. | 8 // Commands relating to web page navigation. |
| 9 @protocol NavigationCommands | 9 @protocol NavigationCommands<NSObject> |
| 10 @optional | 10 @optional |
| 11 // Goes back to the previous visited page. | 11 // Goes back to the previous visited page. |
| 12 - (void)goBack; | 12 - (void)goBack; |
| 13 // Goes forward to the next page. | 13 // Goes forward to the next page. |
| 14 - (void)goForward; | 14 - (void)goForward; |
| 15 // Reloads the current page. | 15 // Reloads the current page. |
| 16 - (void)reloadPage; | 16 - (void)reloadPage; |
| 17 // Stops loading the page. | 17 // Stops loading the page. |
| 18 - (void)stopLoadingPage; | 18 - (void)stopLoadingPage; |
| 19 @end | 19 @end |
| 20 | 20 |
| 21 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_NAVIGATION_COMMANDS_H_ | 21 #endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_NAVIGATION_COMMANDS_H_ |
| OLD | NEW |