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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogMenuItem.java

Issue 21205007: [rAc Android] Remove the old dialog implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 5 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: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogMenuItem.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogMenuItem.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogMenuItem.java
deleted file mode 100644
index 96d029ddaa2f1a4286e6dabc7af352149ebd8493..0000000000000000000000000000000000000000
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogMenuItem.java
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 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.autofill;
-
-import android.graphics.Bitmap;
-
-/**
- * A container to store the information for each Autofill Dialog menu item.
- */
-public class AutofillDialogMenuItem {
- public final int mIndex;
- public final String mLine1;
- public final String mLine2;
- public final Bitmap mIcon;
- public final boolean mShowButton;
- public final int mButtonLabelResourceId;
- public final Bitmap mButtonIcon;
-
- /**
- * @param index Index of the menu item.
- * @param line1 First line of the menu item.
- * @param line2 Second line of the menu item.
- * @param icon An icon for the menu item (might be null).
- * @param showButton Whether the menu item has a button.
- * @param buttonLabelResourceId The button label string id.
- * @param buttonIcon The button icon.
- */
- public AutofillDialogMenuItem(int index,
- String line1, String line2, Bitmap icon,
- boolean showButton,
- int buttonLabelResourceId, Bitmap buttonIcon) {
- mIndex = index;
- mLine1 = line1;
- mLine2 = line2;
- mIcon = icon;
- mShowButton = showButton;
- mButtonLabelResourceId = buttonLabelResourceId;
- mButtonIcon = buttonIcon;
- }
-
- /**
- * @param index Index of the menu item.
- * @param label Label of the menu item.
- */
- public AutofillDialogMenuItem(int index, String label) {
- this(index, label, "", null, false, -1, null);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698