Index: public/web/WebDateTimeChooserParams.h |
diff --git a/public/web/WebDateTimeChooserParams.h b/public/web/WebDateTimeChooserParams.h |
index 2d2b3d9d2e7d097184de1cc86f53a94bfa55784a..443db111a15af82c101910d505fbe4d6b1177484 100644 |
--- a/public/web/WebDateTimeChooserParams.h |
+++ b/public/web/WebDateTimeChooserParams.h |
@@ -30,6 +30,7 @@ |
#include "../platform/WebString.h" |
#include "../platform/WebVector.h" |
#include "WebDateTimeInputType.h" |
+#include "WebDateTimeSuggestion.h" |
namespace blink { |
@@ -46,17 +47,9 @@ struct WebDateTimeChooserParams { |
// The current value of the requester element as a double. |
// NaN means empty value. Should not be infinity. |
double doubleValue; |
- // <datalist> option values associated to the requester element. These |
- // values should not be shown to users. The vector size might be 0. |
- WebVector<WebString> suggestionValues; |
- // Localized values of <datalist> options associated to the requester |
- // element. These values should be shown to users. The vector size must be |
- // same as suggestionValues size. |
- WebVector<WebString> localizedSuggestionValues; |
- // <datalist> option labels associated to the requester element. These |
- // values should be shown to users. The vector size must be same as |
- // suggestionValues size. |
- WebVector<WebString> suggestionLabels; |
+ // <datalist> option suggestions associated to the requester element. The |
+ // vector size might be 0. |
+ WebVector<WebDateTimeSuggestion> suggestions; |
// HTMLInputElement::min attribute value parsed in the valusAsNumber rule, |
// that is to say, milliseconds from the epoch for non-month types and |
// months from the epoch for month type. If the min attribute is missing, |