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

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

Issue 11187032: Handle resubmission of HTTP Posts. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index 508dad5345f8f030e63333be68a9137d1670241e..2904da028d3fa6aa82d730fffdd574a966ee14f7 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -792,6 +792,20 @@ public class ContentViewCore implements MotionEventDelegate {
}
/**
+ * Cancel the pending reload.
+ */
+ public void cancelPendingReload() {
+ if (mNativeContentViewCore != 0) nativeCancelPendingReload(mNativeContentViewCore);
+ }
+
+ /**
+ * Continue the pending reload.
+ */
+ public void continuePendingReload() {
+ if (mNativeContentViewCore != 0) nativeContinuePendingReload(mNativeContentViewCore);
+ }
+
+ /**
* Clears the ContentViewCore's page history in both the backwards and
* forwards directions.
*/
@@ -2168,6 +2182,10 @@ public class ContentViewCore implements MotionEventDelegate {
private native void nativeReload(int nativeContentViewCoreImpl);
+ private native void nativeCancelPendingReload(int nativeContentViewCoreImpl);
+
+ private native void nativeContinuePendingReload(int nativeContentViewCoreImpl);
+
private native void nativeSelectPopupMenuItems(int nativeContentViewCoreImpl, int[] indices);
private native void nativeScrollFocusedEditableNodeIntoView(int nativeContentViewCoreImpl);

Powered by Google App Engine
This is Rietveld 408576698