Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(715)

Unified Diff: blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpNavigationController.java

Issue 2058263002: Tied up BlimpNavigationController to NavigationFeature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_core
Patch Set: Hooked up the Java layer Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpNavigationController.java
diff --git a/blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpNavigationController.java b/blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpNavigationController.java
index 2e60b97d2527c00097ae451b1087be54b3c64408..9f1267fd7a4cdc6fd32dbbf7e62eebdef6ea52e5 100644
--- a/blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpNavigationController.java
+++ b/blimp/client/core/public/android/java/src/org/chromium/blimp/core_public/BlimpNavigationController.java
@@ -26,4 +26,29 @@ 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.
David Trainor- moved to gerrit 2016/06/29 17:27:15 Add @param checkForRepost and explain what it is.
shaktisahu 2016/07/19 21:45:29 Done.
+ */
+ public void reload(boolean checkForRepost);
+}

Powered by Google App Engine
This is Rietveld 408576698