1/*
2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met:
7 *
8 *     * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *     * Redistributions in binary form must reproduce the above
11 * copyright notice, this list of conditions and the following disclaimer
12 * in the documentation and/or other materials provided with the
13 * distribution.
14 *     * Neither the name of Google Inc. nor the names of its
15 * contributors may be used to endorse or promote products derived from
16 * this software without specific prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31#ifndef WebLocalizedString_h
32#define WebLocalizedString_h
33
34namespace blink {
35
36struct WebLocalizedString {
37    enum Name {
38        AXAMPMFieldText,
39        AXButtonActionVerb,
40        AXCheckedCheckBoxActionVerb,
41        AXDateTimeFieldEmptyValueText,
42        AXDayOfMonthFieldText,
43        AXHeadingText, // Deprecated.
44        AXHourFieldText,
45        AXImageMapText, // Deprecated.
46        AXLinkActionVerb,
47        AXLinkText, // Deprecated.
48        AXListMarkerText, // Deprecated.
49        AXMediaAudioElement,
50        AXMediaAudioElementHelp,
51        AXMediaCurrentTimeDisplay,
52        AXMediaCurrentTimeDisplayHelp,
53        AXMediaDefault,
54        AXMediaEnterFullscreenButton,
55        AXMediaEnterFullscreenButtonHelp,
56        AXMediaExitFullscreenButton,
57        AXMediaExitFullscreenButtonHelp,
58        AXMediaHideClosedCaptionsButton,
59        AXMediaHideClosedCaptionsButtonHelp,
60        AXMediaMuteButton,
61        AXMediaMuteButtonHelp,
62        AXMediaPauseButton,
63        AXMediaPauseButtonHelp,
64        AXMediaPlayButton,
65        AXMediaPlayButtonHelp,
66        AXMediaReturnToRealTime,
67        AXMediaReturnToRealTimeHelp,
68        AXMediaRewindButton,
69        AXMediaRewindButtonHelp,
70        AXMediaSeekBackButton,
71        AXMediaSeekBackButtonHelp,
72        AXMediaSeekForwardButton,
73        AXMediaSeekForwardButtonHelp,
74        AXMediaShowClosedCaptionsButton,
75        AXMediaShowClosedCaptionsButtonHelp,
76        AXMediaSlider, // Deprecated.
77        AXMediaSliderHelp,
78        AXMediaSliderThumb, // Deprecated.
79        AXMediaSliderThumbHelp, // Deprecated.
80        AXMediaStatusDisplay,
81        AXMediaStatusDisplayHelp,
82        AXMediaTimeRemainingDisplay,
83        AXMediaTimeRemainingDisplayHelp,
84        AXMediaUnMuteButton,
85        AXMediaUnMuteButtonHelp,
86        AXMediaVideoElement,
87        AXMediaVideoElementHelp,
88        AXMillisecondFieldText,
89        AXMinuteFieldText,
90        AXMonthFieldText,
91        AXRadioButtonActionVerb,
92        AXSecondFieldText,
93        AXTextFieldActionVerb,
94        AXUncheckedCheckBoxActionVerb,
95        AXWebAreaText, // Deprecated.
96        AXWeekOfYearFieldText,
97        AXYearFieldText,
98        BlockedPluginText,
99        CalendarClear,
100        CalendarToday,
101        DateFormatDayInMonthLabel,
102        DateFormatMonthLabel,
103        DateFormatYearLabel,
104        DetailsLabel,
105        FileButtonChooseFileLabel,
106        FileButtonChooseMultipleFilesLabel,
107        FileButtonNoFileSelectedLabel,
108        InputElementAltText,
109        KeygenMenuHighGradeKeySize,
110        KeygenMenuMediumGradeKeySize,
111        MissingPluginText,
112        MultipleFileUploadText,
113        OtherColorLabel,
114        OtherDateLabel,
115        OtherMonthLabel,
116        OtherTimeLabel,
117        OtherWeekLabel,
118        // PlaceholderForDayOfMonthField is for day placeholder text, e.g.
119        // "dd", for date field used in multiple fields "date", "datetime", and
120        // "datetime-local" input UI instead of "--".
121        PlaceholderForDayOfMonthField,
122        // PlaceholderForfMonthField is for month placeholder text, e.g.
123        // "mm", for month field used in multiple fields "date", "datetime", and
124        // "datetime-local" input UI instead of "--".
125        PlaceholderForMonthField,
126        // PlaceholderForYearField is for year placeholder text, e.g. "yyyy",
127        // for year field used in multiple fields "date", "datetime", and
128        // "datetime-local" input UI instead of "----".
129        PlaceholderForYearField,
130        ResetButtonDefaultLabel,
131        SearchableIndexIntroduction,
132        SearchMenuClearRecentSearchesText, // Deprecated.
133        SearchMenuNoRecentSearchesText, // Deprecated.
134        SearchMenuRecentSearchesText, // Deprecated.
135        SubmitButtonDefaultLabel,
136        ThisMonthButtonLabel,
137        ThisWeekButtonLabel,
138        ValidationBadInputForNumber,
139        ValidationBadInputForDateTime,
140        ValidationPatternMismatch,
141        ValidationRangeOverflow,
142        ValidationRangeOverflowDateTime,
143        ValidationRangeUnderflow,
144        ValidationRangeUnderflowDateTime,
145        ValidationStepMismatch,
146        ValidationStepMismatchCloseToLimit,
147        ValidationTooLong,
148        ValidationTypeMismatch,
149        ValidationTypeMismatchForEmail,
150        ValidationTypeMismatchForEmailEmpty,
151        ValidationTypeMismatchForEmailEmptyDomain,
152        ValidationTypeMismatchForEmailEmptyLocal,
153        ValidationTypeMismatchForEmailInvalidDomain,
154        ValidationTypeMismatchForEmailInvalidDots,
155        ValidationTypeMismatchForEmailInvalidLocal,
156        ValidationTypeMismatchForEmailNoAtSign,
157        ValidationTypeMismatchForMultipleEmail,
158        ValidationTypeMismatchForURL,
159        ValidationValueMissing,
160        ValidationValueMissingForCheckbox,
161        ValidationValueMissingForFile,
162        ValidationValueMissingForMultipleFile,
163        ValidationValueMissingForRadio,
164        ValidationValueMissingForSelect,
165        WeekFormatTemplate,
166        WeekNumberLabel,
167    };
168};
169
170} // namespace blink
171
172#endif
173