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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java

Issue 23623019: Support datalist for date/time input types on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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
OLDNEW
(Empty)
1 // Copyright 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.content.browser.input;
6
7 /**
8 * Date/time suggestion container used to store information for each suggestion that will be shown
9 * in the suggestion list dialog.
10 */
11 public class DateTimeSuggestion {
12 final String mValue;
newt (away) 2013/10/09 07:20:52 these should presumably have the same visibility a
keishi 2013/10/21 17:00:58 Done.
13 final String mLocalizedValue;
14 final String mLabel;
15
16 /**
17 * Constructs a color suggestion container.
18 * @param value The suggested color.
19 * @param localizedValue The suggested color.
20 * @param label The label for the suggestion.
21 */
22 public DateTimeSuggestion(String value, String localizedValue, String label) {
23 mValue = value;
24 mLocalizedValue = localizedValue;
25 mLabel = label;
26 }
27 }
Miguel Garcia 2013/10/08 17:44:40 please implement equals() and hashcode() (and mayb
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698