Chromium Code Reviews| Index: blimp/client/public/android/java/src/org/chromium/blimp_public/contents/BlimpNavigationController.java |
| diff --git a/blimp/client/public/android/java/src/org/chromium/blimp_public/contents/BlimpNavigationController.java b/blimp/client/public/android/java/src/org/chromium/blimp_public/contents/BlimpNavigationController.java |
| index e7f47962e4763a61eb1bc959f0034f391dd6c871..8d2a314b3885e461950d3aa1ee09e0892f00437a 100644 |
| --- a/blimp/client/public/android/java/src/org/chromium/blimp_public/contents/BlimpNavigationController.java |
| +++ b/blimp/client/public/android/java/src/org/chromium/blimp_public/contents/BlimpNavigationController.java |
| @@ -26,4 +26,31 @@ public interface BlimpNavigationController { |
| * Retrieves the URL of the currently selected item in the navigation list. |
| */ |
| String getUrl(); |
| + |
| + /** |
| + * @return Whether back navigation is possible from the "current entry". |
| + */ |
| + boolean canGoBack(); |
| + |
| + /** |
| + * @return Whether forward navigation is possible from the "current entry". |
| + */ |
| + boolean canGoForward(); |
| + |
| + /** |
| + * Goes to the navigation entry before the current one. |
| + */ |
| + void goBack(); |
| + |
| + /** |
| + * Goes to the navigation entry following the current one. |
| + */ |
| + void goForward(); |
| + |
| + /** |
| + * Reload the current page. If |checkForRepost| is true and the current entry has POST data the |
|
Kevin M
2016/08/03 16:55:16
Shouldn't checkForRepost be documented via @param
|
| + * user is prompted to see if they really want to reload the page. In nearly all cases pass in |
| + * true. |
| + */ |
| + public void reload(boolean checkForRepost); |
| } |