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

Unified Diff: public/web/WebDateTimeChooserParams.h

Issue 62083004: Transfer date/time value to the chooser as a double (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@datetime3
Patch Set: Added test 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
Index: public/web/WebDateTimeChooserParams.h
diff --git a/public/web/WebDateTimeChooserParams.h b/public/web/WebDateTimeChooserParams.h
index 918d636935a39270d8f33ca6e10190d89ef22b4b..450f48c64f265e396412867da1b7baa95bce02fb 100644
--- a/public/web/WebDateTimeChooserParams.h
+++ b/public/web/WebDateTimeChooserParams.h
@@ -41,7 +41,11 @@ struct WebDateTimeChooserParams {
// Bounding rectangle of the requester element.
WebRect anchorRectInScreen;
// The current value of the requester element.
+ // FIXME: Remove. Deprecated in favor of doubleValue.
WebString currentValue;
+ // The current value of the requester element as a double.
+ // NaN means empty value.
tkent 2013/11/21 00:09:43 Ditto.
keishi 2013/11/21 15:07:12 Done.
+ 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;
« public/web/WebDateTimeChooserCompletion.h ('K') | « public/web/WebDateTimeChooserCompletion.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698