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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java

Issue 369503003: Migration of code from ContentViewCore to NavigationController to avoid ContentViewCore abstraction… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed style issues in functions Created 6 years, 5 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
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java b/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java
index 129256e1e69da491b8d0b80ab3c3ba51efe33d66..28a72cab9ebd989ffb3e6504f30c699db2abc955 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java
@@ -47,4 +47,34 @@ public interface NavigationController {
* Goes to the navigation entry following the current one.
*/
void goForward();
+
+ /**
+ * Loads the current navigation if there is a pending lazy load (after tab restore).
+ */
+ public void loadIfNecessary();
+
+ /**
+ * Requests the current navigation to be loaded upon the next call to loadIfNecessary().
+ */
+ public void requestRestoreLoad();
+
+ /**
+ * Reload the current page.
+ */
+ public void reload(boolean checkForRepost);
+
+ /**
+ * Reload the current page, ignoring the contents of the cache.
+ */
+ public void reloadIgnoringCache(boolean checkForRepost);
+
+ /**
+ * Cancel the pending reload.
+ */
+ public void cancelPendingReload();
+
+ /**
+ * Continue the pending reload.
+ */
+ public void continuePendingReload();
}
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698