| Index: content/browser/android/date_time_chooser_android.h
|
| diff --git a/content/browser/android/date_time_chooser_android.h b/content/browser/android/date_time_chooser_android.h
|
| index 68cb4560172c06a408616d93ab4f17c941cb81b9..72cc6421bba864d77d4ab538545a653037bf3513 100644
|
| --- a/content/browser/android/date_time_chooser_android.h
|
| +++ b/content/browser/android/date_time_chooser_android.h
|
| @@ -6,6 +6,7 @@
|
| #define CONTENT_BROWSER_ANDROID_DATE_TIME_CHOOSER_ANDROID_H_
|
|
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/android/jni_helper.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -14,6 +15,7 @@ namespace content {
|
|
|
| class ContentViewCore;
|
| class RenderViewHost;
|
| +struct DateTimeSuggestion;
|
|
|
| // Android implementation for DateTimeChooser dialogs.
|
| class DateTimeChooserAndroid {
|
| @@ -24,31 +26,17 @@ class DateTimeChooserAndroid {
|
| // DateTimeChooser implementation:
|
| void ShowDialog(ContentViewCore* content,
|
| RenderViewHost* sender,
|
| - int type,
|
| - int year,
|
| - int month,
|
| - int day,
|
| - int hour,
|
| - int minute,
|
| - int second,
|
| - int milli,
|
| - int week,
|
| + int dialog_type,
|
| + double current_value,
|
| double min,
|
| double max,
|
| - double step);
|
| + double step,
|
| + std::vector<DateTimeSuggestion> suggestions);
|
|
|
| // Replaces the current value with the one passed the different fields
|
| void ReplaceDateTime(JNIEnv* env,
|
| jobject,
|
| - jint dialog_type,
|
| - jint year,
|
| - jint month,
|
| - jint day,
|
| - jint hour,
|
| - jint minute,
|
| - jint second,
|
| - jint milli,
|
| - jint week);
|
| + jdouble);
|
|
|
| // Closes the dialog without propagating any changes.
|
| void CancelDialog(JNIEnv* env, jobject);
|
|
|