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

Unified Diff: content/browser/frame_host/navigation_controller_android.cc

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: Created 6 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: content/browser/frame_host/navigation_controller_android.cc
diff --git a/content/browser/frame_host/navigation_controller_android.cc b/content/browser/frame_host/navigation_controller_android.cc
index 536e17dd3ec2d4c1c421529f2f3265422ef90dd6..8879cb7c71d48bf6c7c6179af4c14438a4bd48ba 100644
--- a/content/browser/frame_host/navigation_controller_android.cc
+++ b/content/browser/frame_host/navigation_controller_android.cc
@@ -64,6 +64,34 @@ void NavigationControllerAndroid::GoToOffset(JNIEnv* env,
navigation_controller_->GoToOffset(offset);
}
+void NavigationControllerAndroid::LoadIfNecessary(JNIEnv* env, jobject obj) {
+ navigation_controller_->LoadIfNecessary();
+}
+
+void NavigationControllerAndroid::ContinuePendingReload(JNIEnv* env,
+ jobject obj) {
+ navigation_controller_->ContinuePendingReload();
+}
+
+void NavigationControllerAndroid::Reload(JNIEnv* env, jobject obj,
Yaron 2014/07/02 17:32:39 nit: all params on one line or separate lines for
AKVT 2014/07/05 10:32:16 Done.
+ jboolean check_for_repost) {
+ navigation_controller_->Reload(check_for_repost);
+}
+
+void NavigationControllerAndroid::ReloadIgnoringCache(JNIEnv* env,
+ jobject obj, jboolean check_for_repost) {
Yaron 2014/07/02 17:32:39 same
AKVT 2014/07/05 10:32:17 Done.
+ navigation_controller_->ReloadIgnoringCache(check_for_repost);
+}
+
+void NavigationControllerAndroid::RequestRestoreLoad(JNIEnv* env, jobject obj) {
+ navigation_controller_->SetNeedsReload();
+}
+
+void NavigationControllerAndroid::CancelPendingReload(JNIEnv* env,
+ jobject obj) {
+ navigation_controller_->CancelPendingReload();
+}
+
void NavigationControllerAndroid::GoToNavigationIndex(JNIEnv* env,
jobject obj,
jint index) {

Powered by Google App Engine
This is Rietveld 408576698