Index: chrome/android/java/src/org/chromium/chrome/browser/infobar/MessageInfoBar.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/MessageInfoBar.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/MessageInfoBar.java |
deleted file mode 100644 |
index 1c1597f7d3c5860719d40b778b3dc4323b075d16..0000000000000000000000000000000000000000 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/MessageInfoBar.java |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-// Copyright 2013 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.chrome.browser.infobar; |
- |
- |
-/** |
- * A simple infobar that contains a message and a close icon on the right side. |
- * This is used only in the context of Java code and is not associated with any native |
- * InfoBarDelegate. |
- * |
- * TODO(newt): merge this into InfoBar.java |
- */ |
-public class MessageInfoBar extends InfoBar { |
- |
- /** |
- * Creates an infobar with a message and a close button. |
- * @param title the text displayed in the infobar |
- */ |
- public MessageInfoBar(CharSequence title) { |
- this(null, 0, title); |
- } |
- |
- /** |
- * Creates an infobar with an icon, a message and a close button. |
- * @param listener A listener to be notified when the infobar is dismissed, or null. |
- * @param iconResourceId The icon to display in the infobar, or 0 if no icon should be shown. |
- * @param title The text to display in the infobar. |
- */ |
- public MessageInfoBar(InfoBarListeners.Dismiss listener, int iconResourceId, |
- CharSequence title) { |
- super(listener, iconResourceId, null, title); |
- } |
-} |