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

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

Issue 1493403002: Make pull to refresh not perform regular reload (with cache revalidation) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 a7590fd97a1e5783dffd44e3ce2900327c8a2687..fad0cafdba3767bd5d42b51157b88af12a6692df 100644
--- a/content/browser/frame_host/navigation_controller_android.cc
+++ b/content/browser/frame_host/navigation_controller_android.cc
@@ -149,6 +149,13 @@ void NavigationControllerAndroid::Reload(JNIEnv* env,
navigation_controller_->Reload(check_for_repost);
}
+void NavigationControllerAndroid::ReloadToRefreshContent(
+ JNIEnv* env,
+ jobject obj,
+ jboolean check_for_repost) {
+ navigation_controller_->ReloadToRefreshContent(check_for_repost);
+}
+
void NavigationControllerAndroid::ReloadIgnoringCache(
JNIEnv* env,
const JavaParamRef<jobject>& obj,
« no previous file with comments | « content/browser/frame_host/navigation_controller_android.h ('k') | content/browser/frame_host/navigation_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698