|
Lines 83-97
static PassOwnPtr<InputTypeFactoryMap> createInputTypeFactoryMap()
a/Source/WebCore/html/InputType.cpp_sec1
|
| 83 |
#if ENABLE(INPUT_COLOR) |
83 |
#if ENABLE(INPUT_COLOR) |
| 84 |
map->add(InputTypeNames::color(), ColorInputType::create); |
84 |
map->add(InputTypeNames::color(), ColorInputType::create); |
| 85 |
#endif |
85 |
#endif |
|
|
86 |
#if ENABLE(INPUT_TYPE_DATE) |
| 86 |
map->add(InputTypeNames::date(), DateInputType::create); |
87 |
map->add(InputTypeNames::date(), DateInputType::create); |
|
|
88 |
#endif |
| 89 |
#if ENABLE(INPUT_TYPE_DATETIME) |
| 87 |
map->add(InputTypeNames::datetime(), DateTimeInputType::create); |
90 |
map->add(InputTypeNames::datetime(), DateTimeInputType::create); |
|
|
91 |
#endif |
| 92 |
#if ENABLE(INPUT_TYPE_DATETIMELOCAL) |
| 88 |
map->add(InputTypeNames::datetimelocal(), DateTimeLocalInputType::create); |
93 |
map->add(InputTypeNames::datetimelocal(), DateTimeLocalInputType::create); |
|
|
94 |
#endif |
| 89 |
map->add(InputTypeNames::email(), EmailInputType::create); |
95 |
map->add(InputTypeNames::email(), EmailInputType::create); |
| 90 |
map->add(InputTypeNames::file(), FileInputType::create); |
96 |
map->add(InputTypeNames::file(), FileInputType::create); |
| 91 |
map->add(InputTypeNames::hidden(), HiddenInputType::create); |
97 |
map->add(InputTypeNames::hidden(), HiddenInputType::create); |
| 92 |
map->add(InputTypeNames::image(), ImageInputType::create); |
98 |
map->add(InputTypeNames::image(), ImageInputType::create); |
| 93 |
map->add(InputTypeNames::isindex(), IsIndexInputType::create); |
99 |
map->add(InputTypeNames::isindex(), IsIndexInputType::create); |
|
|
100 |
#if ENABLE(INPUT_TYPE_MONTH) |
| 94 |
map->add(InputTypeNames::month(), MonthInputType::create); |
101 |
map->add(InputTypeNames::month(), MonthInputType::create); |
|
|
102 |
#endif |
| 95 |
map->add(InputTypeNames::number(), NumberInputType::create); |
103 |
map->add(InputTypeNames::number(), NumberInputType::create); |
| 96 |
map->add(InputTypeNames::password(), PasswordInputType::create); |
104 |
map->add(InputTypeNames::password(), PasswordInputType::create); |
| 97 |
map->add(InputTypeNames::radio(), RadioInputType::create); |
105 |
map->add(InputTypeNames::radio(), RadioInputType::create); |
|
Lines 100-108
static PassOwnPtr<InputTypeFactoryMap> createInputTypeFactoryMap()
a/Source/WebCore/html/InputType.cpp_sec2
|
| 100 |
map->add(InputTypeNames::search(), SearchInputType::create); |
108 |
map->add(InputTypeNames::search(), SearchInputType::create); |
| 101 |
map->add(InputTypeNames::submit(), SubmitInputType::create); |
109 |
map->add(InputTypeNames::submit(), SubmitInputType::create); |
| 102 |
map->add(InputTypeNames::telephone(), TelephoneInputType::create); |
110 |
map->add(InputTypeNames::telephone(), TelephoneInputType::create); |
|
|
111 |
#if ENABLE(INPUT_TYPE_TIME) |
| 103 |
map->add(InputTypeNames::time(), TimeInputType::create); |
112 |
map->add(InputTypeNames::time(), TimeInputType::create); |
|
|
113 |
#endif |
| 104 |
map->add(InputTypeNames::url(), URLInputType::create); |
114 |
map->add(InputTypeNames::url(), URLInputType::create); |
|
|
115 |
#if ENABLE(INPUT_TYPE_WEEK) |
| 105 |
map->add(InputTypeNames::week(), WeekInputType::create); |
116 |
map->add(InputTypeNames::week(), WeekInputType::create); |
|
|
117 |
#endif |
| 106 |
// No need to register "text" because it is the default type. |
118 |
// No need to register "text" because it is the default type. |
| 107 |
return map.release(); |
119 |
return map.release(); |
| 108 |
} |
120 |
} |