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

Unified Diff: public/web/WebDateTimeChooserParams.h

Issue 23623017: Prepare for date/time input datalist support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Created 7 years, 1 month 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
« no previous file with comments | « Source/web/web.gypi ('k') | public/web/WebDateTimeSuggestion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « Source/web/web.gypi ('k') | public/web/WebDateTimeSuggestion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698