Index: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClient.java |
diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClient.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClient.java |
deleted file mode 100644 |
index e014193c0f22df4e051ccd049f825d473d0e43d3..0000000000000000000000000000000000000000 |
--- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClient.java |
+++ /dev/null |
@@ -1,48 +0,0 @@ |
-// Copyright 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-package org.chromium.content.browser.test.util; |
- |
-import android.content.Context; |
- |
-import org.chromium.content.browser.ContentViewClient; |
-import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnEvaluateJavaScriptResultHelper; |
-import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnStartContentIntentHelper; |
- |
-/** |
- * The default ContentViewClient used by ContentView tests. |
- * <p> |
- * Tests that need to supply their own ContentViewClient should do that |
- * by extending this one. |
- */ |
-public class TestContentViewClient extends ContentViewClient { |
- |
- private OnEvaluateJavaScriptResultHelper mOnEvaluateJavaScriptResultHelper; |
- private OnStartContentIntentHelper mOnStartContentIntentHelper; |
- |
- public TestContentViewClient() { |
- mOnEvaluateJavaScriptResultHelper = new OnEvaluateJavaScriptResultHelper(); |
- mOnStartContentIntentHelper = new OnStartContentIntentHelper(); |
- } |
- |
- public OnEvaluateJavaScriptResultHelper getOnEvaluateJavaScriptResultHelper() { |
- return mOnEvaluateJavaScriptResultHelper; |
- } |
- |
- public OnStartContentIntentHelper getOnStartContentIntentHelper() { |
- return mOnStartContentIntentHelper; |
- } |
- |
- /** |
- * ATTENTION!: When overriding the following method, be sure to call |
- * the corresponding method in the super class. Otherwise |
- * {@link CallbackHelper#waitForCallback()} methods will |
- * stop working! |
- */ |
- |
- @Override |
- public void onStartContentIntent(Context context, String contentUrl) { |
- mOnStartContentIntentHelper.notifyCalled(contentUrl); |
- } |
-} |