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

Unified Diff: content/browser/android/date_time_chooser_android.cc

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/browser/android/date_time_chooser_android.cc
diff --git a/content/browser/android/date_time_chooser_android.cc b/content/browser/android/date_time_chooser_android.cc
index 0a9a1e2172eef86eded70dd3a71da074d923dc2f..edd697714a85f3d0ff8142a8c4f318fde599ef7f 100644
--- a/content/browser/android/date_time_chooser_android.cc
+++ b/content/browser/android/date_time_chooser_android.cc
@@ -89,7 +89,7 @@ void DateTimeChooserAndroid::CancelDialog(JNIEnv* env, jobject) {
void DateTimeChooserAndroid::ShowDialog(
ContentViewCore* content, RenderViewHost* sender,
int type, int year, int month, int day,
- int hour, int minute, int second) {
+ int hour, int minute, int second, double min, double max) {
if (sender_)
delete sender_;
sender_ = new DateTimeIPCSender(sender);
@@ -98,7 +98,7 @@ void DateTimeChooserAndroid::ShowDialog(
j_date_time_chooser_.Reset(Java_DateTimeChooserAndroid_createDateTimeChooser(
env, content->GetJavaObject().obj(),
reinterpret_cast<intptr_t>(this),
- type, year, month, day, hour, minute, second));
+ type, year, month, day, hour, minute, second, min, max));
}
// ----------------------------------------------------------------------------
« no previous file with comments | « content/browser/android/date_time_chooser_android.h ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698