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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogNotification.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/AutofillDialogNotification.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogNotification.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogNotification.java
deleted file mode 100644
index 19f3dc7086f2dbda44bf7f533ceb1168eecc1d87..0000000000000000000000000000000000000000
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogNotification.java
+++ /dev/null
@@ -1,69 +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;
-
-/**
- * AutofillDialog notification container.
- */
-class AutofillDialogNotification {
- /**
- * The background color for the View's notification area.
- */
- final int mBackgroundColor;
-
- /**
- * The text color.
- */
- final int mTextColor;
-
- /**
- * Whether this notification has an arrow pointing up at the account chooser.
- */
- final boolean mHasArrow;
-
- /**
- * Whether this notifications has the "Save details to wallet" checkbox.
- */
- final boolean mHasCheckbox;
-
- /**
- * Whether the dialog notification's checkbox should be checked.
- * Only applies when mHasCheckbox is true.
- */
- final boolean mChecked;
-
- /**
- * When false, this disables user interaction with the notification.
- * For example, WALLET_USAGE_CONFIRMATION notifications set this to false
- * after the submit flow has started.
- */
- final boolean mInteractive;
-
- /**
- * The text of the notification.
- */
- final String mText;
-
- /**
- * The (native) type of the notification (see autofill::DialogNotification::Type).
- */
- final int mType;
-
- public AutofillDialogNotification(
- int type,
- int backgroundColor, int textColor,
- boolean hasArrow, boolean hasCheckbox,
- boolean checked, boolean interactive,
- String text) {
- mType = type;
- mBackgroundColor = backgroundColor;
- mTextColor = textColor;
- mHasArrow = hasArrow;
- mHasCheckbox = hasCheckbox;
- mChecked = checked;
- mInteractive = interactive;
- mText = text;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698