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

Side by Side Diff: third_party/WebKit/public/web/WebDateTimeChooserParams.h

Issue 2586163002: Remove string representation values from DateTimeChooser interfaces. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/web/WebDateTimeChooserCompletion.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 23 matching lines...) Expand all
34 34
35 namespace blink { 35 namespace blink {
36 36
37 // This class conveys various information to make date/time chooser UI. 37 // This class conveys various information to make date/time chooser UI.
38 // See WebViewClient::openDateTimeChooser. 38 // See WebViewClient::openDateTimeChooser.
39 struct WebDateTimeChooserParams { 39 struct WebDateTimeChooserParams {
40 // The type of chooser to show. 40 // The type of chooser to show.
41 WebDateTimeInputType type; 41 WebDateTimeInputType type;
42 // Bounding rectangle of the requester element. 42 // Bounding rectangle of the requester element.
43 WebRect anchorRectInScreen; 43 WebRect anchorRectInScreen;
44 // The current value of the requester element.
45 // FIXME: Remove. Deprecated in favor of doubleValue.
46 WebString currentValue;
47 // The current value of the requester element as a double. 44 // The current value of the requester element as a double.
48 // NaN means empty value. Should not be infinity. 45 // NaN means empty value. Should not be infinity.
49 double doubleValue; 46 double doubleValue;
50 // <datalist> option suggestions associated to the requester element. The 47 // <datalist> option suggestions associated to the requester element. The
51 // vector size might be 0. 48 // vector size might be 0.
52 WebVector<WebDateTimeSuggestion> suggestions; 49 WebVector<WebDateTimeSuggestion> suggestions;
53 // HTMLInputElement::min attribute value parsed in the valusAsNumber rule, 50 // HTMLInputElement::min attribute value parsed in the valusAsNumber rule,
54 // that is to say, milliseconds from the epoch for non-month types and 51 // that is to say, milliseconds from the epoch for non-month types and
55 // months from the epoch for month type. If the min attribute is missing, 52 // months from the epoch for month type. If the min attribute is missing,
56 // this field has the hard minimum limit. 53 // this field has the hard minimum limit.
(...skipping 15 matching lines...) Expand all
72 maximum(0), 69 maximum(0),
73 step(0), 70 step(0),
74 stepBase(0), 71 stepBase(0),
75 isRequired(false), 72 isRequired(false),
76 isAnchorElementRTL(false) {} 73 isAnchorElementRTL(false) {}
77 }; 74 };
78 75
79 } // namespace blink 76 } // namespace blink
80 77
81 #endif 78 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebDateTimeChooserCompletion.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698