| 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 addProperty("min", valueToDateTimeString(m_parameters.minimum, m_parameters.
type), data); | 131 addProperty("min", valueToDateTimeString(m_parameters.minimum, m_parameters.
type), data); |
| 132 addProperty("max", valueToDateTimeString(m_parameters.maximum, m_parameters.
type), data); | 132 addProperty("max", valueToDateTimeString(m_parameters.maximum, m_parameters.
type), data); |
| 133 addProperty("step", stepString, data); | 133 addProperty("step", stepString, data); |
| 134 addProperty("stepBase", stepBaseString, data); | 134 addProperty("stepBase", stepBaseString, data); |
| 135 addProperty("required", m_parameters.required, data); | 135 addProperty("required", m_parameters.required, data); |
| 136 addProperty("currentValue", valueToDateTimeString(m_parameters.doubleValue,
m_parameters.type), data); | 136 addProperty("currentValue", valueToDateTimeString(m_parameters.doubleValue,
m_parameters.type), data); |
| 137 addProperty("locale", m_parameters.locale.string(), data); | 137 addProperty("locale", m_parameters.locale.string(), data); |
| 138 addProperty("todayLabel", todayLabelString, data); | 138 addProperty("todayLabel", todayLabelString, data); |
| 139 addProperty("clearLabel", locale().queryString(WebLocalizedString::CalendarC
lear), data); | 139 addProperty("clearLabel", locale().queryString(WebLocalizedString::CalendarC
lear), data); |
| 140 addProperty("weekLabel", locale().queryString(WebLocalizedString::WeekNumber
Label), data); | 140 addProperty("weekLabel", locale().queryString(WebLocalizedString::WeekNumber
Label), data); |
| 141 addProperty("axShowMonthSelector", locale().queryString(WebLocalizedString::
AXCalendarShowMonthSelector), data); |
| 142 addProperty("axShowNextMonth", locale().queryString(WebLocalizedString::AXCa
lendarShowNextMonth), data); |
| 143 addProperty("axShowPreviousMonth", locale().queryString(WebLocalizedString::
AXCalendarShowPreviousMonth), data); |
| 141 addProperty("weekStartDay", m_locale->firstDayOfWeek(), data); | 144 addProperty("weekStartDay", m_locale->firstDayOfWeek(), data); |
| 142 addProperty("shortMonthLabels", m_locale->shortMonthLabels(), data); | 145 addProperty("shortMonthLabels", m_locale->shortMonthLabels(), data); |
| 143 addProperty("dayLabels", m_locale->weekDayShortLabels(), data); | 146 addProperty("dayLabels", m_locale->weekDayShortLabels(), data); |
| 144 addProperty("isLocaleRTL", m_locale->isRTL(), data); | 147 addProperty("isLocaleRTL", m_locale->isRTL(), data); |
| 145 addProperty("isRTL", m_parameters.isAnchorElementRTL, data); | 148 addProperty("isRTL", m_parameters.isAnchorElementRTL, data); |
| 146 addProperty("mode", m_parameters.type.string(), data); | 149 addProperty("mode", m_parameters.type.string(), data); |
| 147 if (m_parameters.suggestions.size()) { | 150 if (m_parameters.suggestions.size()) { |
| 148 Vector<String> suggestionValues; | 151 Vector<String> suggestionValues; |
| 149 Vector<String> localizedSuggestionValues; | 152 Vector<String> localizedSuggestionValues; |
| 150 Vector<String> suggestionLabels; | 153 Vector<String> suggestionLabels; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 void DateTimeChooserImpl::didClosePopup() | 204 void DateTimeChooserImpl::didClosePopup() |
| 202 { | 205 { |
| 203 ASSERT(m_client); | 206 ASSERT(m_client); |
| 204 m_popup = 0; | 207 m_popup = 0; |
| 205 m_client->didEndChooser(); | 208 m_client->didEndChooser(); |
| 206 } | 209 } |
| 207 | 210 |
| 208 } // namespace blink | 211 } // namespace blink |
| 209 | 212 |
| 210 #endif // ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 213 #endif // ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| OLD | NEW |