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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java

Issue 15533003: [Android] Implement min/max on all supported date types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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: content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java b/content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java
index f8fca5444c44e08e0154b93a1a35d621d9ad647b..8f7b39d35553f07cca36f48f87963e4b4518cd55 100644
--- a/content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java
+++ b/content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java
@@ -42,21 +42,21 @@ class DateTimeChooserAndroid {
}
private void showDialog(int dialogType, int year, int month, int monthDay,
- int hour, int minute, int second) {
+ int hour, int minute, int second, double min, double max) {
mInputDialogContainer.showDialog(dialogType, year, month, monthDay,
- hour, minute, second);
+ hour, minute, second, min, max);
}
@CalledByNative
private static DateTimeChooserAndroid createDateTimeChooser(
ContentViewCore contentViewCore,
int nativeDateTimeChooserAndroid, int dialogType,
- int year, int month, int day,
- int hour, int minute, int second) {
+ int year, int month, int day ,
bulach 2013/05/21 17:26:35 nit: remove spaces after day
Miguel Garcia 2013/05/23 12:16:48 Done.
+ int hour, int minute, int second, double min, double max) {
DateTimeChooserAndroid chooser =
new DateTimeChooserAndroid(
contentViewCore.getContext(), nativeDateTimeChooserAndroid);
- chooser.showDialog(dialogType, year, month, day, hour, minute, second);
+ chooser.showDialog(dialogType, year, month, day, hour, minute, second, min, max);
return chooser;
}

Powered by Google App Engine
This is Rietveld 408576698