Index: content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java b/content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..873f73f04ac7c982e5f8f825c0a8ae0884268a76 |
--- /dev/null |
+++ b/content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java |
@@ -0,0 +1,27 @@ |
+// 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.content.browser.input; |
+ |
+/** |
+ * Date/time suggestion container used to store information for each suggestion that will be shown |
+ * in the suggestion list dialog. |
+ */ |
+public class DateTimeSuggestion { |
+ 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.
|
+ final String mLocalizedValue; |
+ final String mLabel; |
+ |
+ /** |
+ * Constructs a color suggestion container. |
+ * @param value The suggested color. |
+ * @param localizedValue The suggested color. |
+ * @param label The label for the suggestion. |
+ */ |
+ public DateTimeSuggestion(String value, String localizedValue, String label) { |
+ mValue = value; |
+ mLocalizedValue = localizedValue; |
+ mLabel = label; |
+ } |
+} |
Miguel Garcia
2013/10/08 17:44:40
please implement equals() and hashcode() (and mayb
|