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

Side by Side Diff: android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.android_webview.test; 5 package org.chromium.android_webview.test;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.os.Message;
8 import android.view.KeyEvent; 9 import android.view.KeyEvent;
9 import android.webkit.ConsoleMessage; 10 import android.webkit.ConsoleMessage;
10 11
11 import org.chromium.android_webview.AwContentsClient; 12 import org.chromium.android_webview.AwContentsClient;
12 import org.chromium.android_webview.AwHttpAuthHandler; 13 import org.chromium.android_webview.AwHttpAuthHandler;
13 import org.chromium.android_webview.InterceptedRequestData; 14 import org.chromium.android_webview.InterceptedRequestData;
14 import org.chromium.android_webview.JsPromptResultReceiver; 15 import org.chromium.android_webview.JsPromptResultReceiver;
15 import org.chromium.android_webview.JsResultReceiver; 16 import org.chromium.android_webview.JsResultReceiver;
16 17
17 /** 18 /**
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 public void onPageStarted(String url) { 74 public void onPageStarted(String url) {
74 } 75 }
75 76
76 @Override 77 @Override
77 public void onPageFinished(String url) { 78 public void onPageFinished(String url) {
78 } 79 }
79 80
80 @Override 81 @Override
81 public void onReceivedError(int errorCode, String description, String failin gUrl) { 82 public void onReceivedError(int errorCode, String description, String failin gUrl) {
82 } 83 }
84
85 @Override
86 public void onFormResubmission(Message dontResend, Message resend) {
87 dontResend.sendToTarget();
88 }
83 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698