Index: public/web/WebDateTimeChooserParams.h |
diff --git a/public/web/WebDateTimeChooserParams.h b/public/web/WebDateTimeChooserParams.h |
index 1adc445695b505cf64321cd85ad645085ca36b35..fe00b83ec91b521669cc607c5a57a2afed9e8029 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 WebKit { |
@@ -41,18 +42,10 @@ struct WebDateTimeChooserParams { |
// Bounding rectangle of the requester element. |
WebRect anchorRectInScreen; |
// The current value of the requester element. |
- WebString currentValue; |
- // <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; |
+ double currentValue; |
tkent
2013/11/07 01:43:10
You can't change the type now because it breaks Ch
|
+ // <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, |