• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
34 namespace blink {
35 
36 struct 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         AXMediaShowClosedCaptionsButton,
67         AXMediaShowClosedCaptionsButtonHelp,
68         AXMediaSlider, // Deprecated.
69         AXMediaSliderHelp,
70         AXMediaSliderThumb, // Deprecated.
71         AXMediaSliderThumbHelp, // Deprecated.
72         AXMediaStatusDisplay,
73         AXMediaStatusDisplayHelp,
74         AXMediaTimeRemainingDisplay,
75         AXMediaTimeRemainingDisplayHelp,
76         AXMediaUnMuteButton,
77         AXMediaUnMuteButtonHelp,
78         AXMediaVideoElement,
79         AXMediaVideoElementHelp,
80         AXMillisecondFieldText,
81         AXMinuteFieldText,
82         AXMonthFieldText,
83         AXRadioButtonActionVerb,
84         AXSecondFieldText,
85         AXTextFieldActionVerb,
86         AXUncheckedCheckBoxActionVerb,
87         AXWebAreaText, // Deprecated.
88         AXWeekOfYearFieldText,
89         AXYearFieldText,
90         BlockedPluginText,
91         CalendarClear,
92         CalendarToday,
93         DateFormatDayInMonthLabel,
94         DateFormatMonthLabel,
95         DateFormatYearLabel,
96         DetailsLabel,
97         FileButtonChooseFileLabel,
98         FileButtonChooseMultipleFilesLabel,
99         FileButtonNoFileSelectedLabel,
100         InputElementAltText,
101         KeygenMenuHighGradeKeySize,
102         KeygenMenuMediumGradeKeySize,
103         MissingPluginText,
104         MultipleFileUploadText,
105         OtherColorLabel,
106         OtherDateLabel,
107         OtherMonthLabel,
108         OtherTimeLabel,
109         OtherWeekLabel,
110         // PlaceholderForDayOfMonthField is for day placeholder text, e.g.
111         // "dd", for date field used in multiple fields "date", "datetime", and
112         // "datetime-local" input UI instead of "--".
113         PlaceholderForDayOfMonthField,
114         // PlaceholderForfMonthField is for month placeholder text, e.g.
115         // "mm", for month field used in multiple fields "date", "datetime", and
116         // "datetime-local" input UI instead of "--".
117         PlaceholderForMonthField,
118         // PlaceholderForYearField is for year placeholder text, e.g. "yyyy",
119         // for year field used in multiple fields "date", "datetime", and
120         // "datetime-local" input UI instead of "----".
121         PlaceholderForYearField,
122         ResetButtonDefaultLabel,
123         SearchableIndexIntroduction,
124         SearchMenuClearRecentSearchesText, // Deprecated.
125         SearchMenuNoRecentSearchesText, // Deprecated.
126         SearchMenuRecentSearchesText, // Deprecated.
127         SelectMenuListText,
128         SubmitButtonDefaultLabel,
129         ThisMonthButtonLabel,
130         ThisWeekButtonLabel,
131         ValidationBadInputForNumber,
132         ValidationBadInputForDateTime,
133         ValidationPatternMismatch,
134         ValidationRangeOverflow,
135         ValidationRangeOverflowDateTime,
136         ValidationRangeUnderflow,
137         ValidationRangeUnderflowDateTime,
138         ValidationStepMismatch,
139         ValidationStepMismatchCloseToLimit,
140         ValidationTooLong,
141         ValidationTypeMismatch,
142         ValidationTypeMismatchForEmail,
143         ValidationTypeMismatchForEmailEmpty,
144         ValidationTypeMismatchForEmailEmptyDomain,
145         ValidationTypeMismatchForEmailEmptyLocal,
146         ValidationTypeMismatchForEmailInvalidDomain,
147         ValidationTypeMismatchForEmailInvalidDots,
148         ValidationTypeMismatchForEmailInvalidLocal,
149         ValidationTypeMismatchForEmailNoAtSign,
150         ValidationTypeMismatchForMultipleEmail,
151         ValidationTypeMismatchForURL,
152         ValidationValueMissing,
153         ValidationValueMissingForCheckbox,
154         ValidationValueMissingForFile,
155         ValidationValueMissingForMultipleFile,
156         ValidationValueMissingForRadio,
157         ValidationValueMissingForSelect,
158         WeekFormatTemplate,
159         WeekNumberLabel,
160     };
161 };
162 
163 } // namespace blink
164 
165 #endif
166