OLD | NEW |
---|---|
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 Loading... | |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 // This class conveys various information to make date/time chooser UI. | 36 // This class conveys various information to make date/time chooser UI. |
37 // See WebViewClient::openDateTimeChooser. | 37 // See WebViewClient::openDateTimeChooser. |
38 struct WebDateTimeChooserParams { | 38 struct WebDateTimeChooserParams { |
39 // The type of chooser to show. | 39 // The type of chooser to show. |
40 WebDateTimeInputType type; | 40 WebDateTimeInputType type; |
41 // Bounding rectangle of the requester element. | 41 // Bounding rectangle of the requester element. |
42 WebRect anchorRectInScreen; | 42 WebRect anchorRectInScreen; |
43 // The current value of the requester element. | 43 // The current value of the requester element. |
44 WebString currentValue; | 44 WebString currentValue; |
tkent
2013/11/07 19:42:07
Will you remove |WebString currentValue|?
keishi
2013/11/07 20:04:11
Yes. Added comment.
| |
45 // The current value of the requester element as a double. | |
46 double doubleValue; | |
tkent
2013/11/07 19:42:07
Can the value be NaN?
keishi
2013/11/07 20:04:11
Yes. Added comment.
| |
45 // <datalist> option values associated to the requester element. These | 47 // <datalist> option values associated to the requester element. These |
46 // values should not be shown to users. The vector size might be 0. | 48 // values should not be shown to users. The vector size might be 0. |
47 WebVector<WebString> suggestionValues; | 49 WebVector<WebString> suggestionValues; |
48 // Localized values of <datalist> options associated to the requester | 50 // Localized values of <datalist> options associated to the requester |
49 // element. These values should be shown to users. The vector size must be | 51 // element. These values should be shown to users. The vector size must be |
50 // same as suggestionValues size. | 52 // same as suggestionValues size. |
51 WebVector<WebString> localizedSuggestionValues; | 53 WebVector<WebString> localizedSuggestionValues; |
52 // <datalist> option labels associated to the requester element. These | 54 // <datalist> option labels associated to the requester element. These |
53 // values should be shown to users. The vector size must be same as | 55 // values should be shown to users. The vector size must be same as |
54 // suggestionValues size. | 56 // suggestionValues size. |
(...skipping 22 matching lines...) Expand all Loading... | |
77 , stepBase(0) | 79 , stepBase(0) |
78 , isRequired(false) | 80 , isRequired(false) |
79 , isAnchorElementRTL(false) | 81 , isAnchorElementRTL(false) |
80 { | 82 { |
81 } | 83 } |
82 }; | 84 }; |
83 | 85 |
84 } // namespace blink | 86 } // namespace blink |
85 | 87 |
86 #endif | 88 #endif |
OLD | NEW |