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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogField.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, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.chrome.browser.autofill;
6
7 /**
8 * Autofill dialog field container to store information needed for each Autofill dialog entry.
9 */
10 public class AutofillDialogField {
11 final int mNativePointer;
12 final int mFieldType;
13 final String mPlaceholder;
14 private String mValue;
15
16 /**
17 * @param nativePointer The pointer to the corresponding native object.
18 * @param fieldType The input field type that got determined by the server.
19 * @param placeholder Placeholder text for this input field.
20 * @param value Autofill value for this input field.
21 */
22 public AutofillDialogField(int nativePointer, int fieldType, String placehol der, String value) {
23 mNativePointer = nativePointer;
24 mFieldType = fieldType;
25 mPlaceholder = placeholder;
26 mValue = value;
27 }
28
29 /**
30 * @return The current value of the field string.
31 */
32 public String getValue() {
33 return mValue;
34 }
35
36 /**
37 * Set the value to be shown for this field.
38 * @param value The string for the value.
39 */
40 public void setValue(String value) {
41 mValue = value;
42 }
43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698