| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |