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

Unified Diff: ui/android/java/src/org/chromium/ui/picker/DateTimeSuggestion.java

Issue 574673003: Move *Picker.java and *PickerDialog.java to ui/android/java/... - Part1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased patch. Created 6 years, 3 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: ui/android/java/src/org/chromium/ui/picker/DateTimeSuggestion.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java b/ui/android/java/src/org/chromium/ui/picker/DateTimeSuggestion.java
similarity index 91%
rename from content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java
rename to ui/android/java/src/org/chromium/ui/picker/DateTimeSuggestion.java
index e46b58ee74f182d4159456d8e247b70d76e144eb..4c814681ed373fc9214d26aad7d043a8abfb30fc 100644
--- a/content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java
+++ b/ui/android/java/src/org/chromium/ui/picker/DateTimeSuggestion.java
@@ -2,13 +2,13 @@
// 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;
+package org.chromium.ui.picker;
/**
* Date/time suggestion container used to store information for each suggestion that will be shown
* in the suggestion list dialog. Keep in sync with date_time_suggestion.h.
*/
-class DateTimeSuggestion {
+public class DateTimeSuggestion {
private final double mValue;
private final String mLocalizedValue;
private final String mLabel;
@@ -19,7 +19,7 @@ class DateTimeSuggestion {
* @param localizedValue The suggested value localized.
* @param label The label for the suggestion.
*/
- DateTimeSuggestion(double value, String localizedValue, String label) {
+ public DateTimeSuggestion(double value, String localizedValue, String label) {
mValue = value;
mLocalizedValue = localizedValue;
mLabel = label;

Powered by Google App Engine
This is Rietveld 408576698