Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / WebLocalizedString.h
blob38f39a2e0397672f4f2d6125ea17bb414c4d8f40
1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met:
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.
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.
31 #ifndef WebLocalizedString_h
32 #define WebLocalizedString_h
34 namespace blink {
36 struct WebLocalizedString {
37 enum Name {
38 AXAMPMFieldText,
39 AXButtonActionVerb,
40 AXCalendarShowMonthSelector,
41 AXCalendarShowNextMonth,
42 AXCalendarShowPreviousMonth,
43 AXCalendarWeekDescription,
44 AXCheckedCheckBoxActionVerb,
45 AXDateTimeFieldEmptyValueText,
46 AXDayOfMonthFieldText,
47 AXHeadingText, // Deprecated.
48 AXHourFieldText,
49 AXImageMapText, // Deprecated.
50 AXLinkActionVerb,
51 AXLinkText, // Deprecated.
52 AXListMarkerText, // Deprecated.
53 AXMediaAudioElement,
54 AXMediaAudioElementHelp,
55 AXMediaAudioSliderHelp,
56 AxMediaCastOffButton,
57 AxMediaCastOffButtonHelp,
58 AxMediaCastOnButton,
59 AxMediaCastOnButtonHelp,
60 AXMediaCurrentTimeDisplay,
61 AXMediaCurrentTimeDisplayHelp,
62 AXMediaDefault,
63 AXMediaEnterFullscreenButton,
64 AXMediaEnterFullscreenButtonHelp,
65 AXMediaExitFullscreenButton,
66 AXMediaExitFullscreenButtonHelp,
67 AXMediaHideClosedCaptionsButton,
68 AXMediaHideClosedCaptionsButtonHelp,
69 AXMediaMuteButton,
70 AXMediaMuteButtonHelp,
71 AXMediaPauseButton,
72 AXMediaPauseButtonHelp,
73 AXMediaPlayButton,
74 AXMediaPlayButtonHelp,
75 AXMediaShowClosedCaptionsButton,
76 AXMediaShowClosedCaptionsButtonHelp,
77 AXMediaSlider, // Deprecated.
78 AXMediaSliderThumb, // Deprecated.
79 AXMediaSliderThumbHelp, // Deprecated.
80 AXMediaStatusDisplay,
81 AXMediaStatusDisplayHelp,
82 AXMediaTimeRemainingDisplay,
83 AXMediaTimeRemainingDisplayHelp,
84 AXMediaUnMuteButton,
85 AXMediaUnMuteButtonHelp,
86 AXMediaVideoElement,
87 AXMediaVideoElementHelp,
88 AXMediaVideoSliderHelp,
89 AXMillisecondFieldText,
90 AXMinuteFieldText,
91 AXMonthFieldText,
92 AXRadioButtonActionVerb,
93 AXSecondFieldText,
94 AXTextFieldActionVerb,
95 AXUncheckedCheckBoxActionVerb,
96 AXWebAreaText, // Deprecated.
97 AXWeekOfYearFieldText,
98 AXYearFieldText,
99 BlockedPluginText,
100 CalendarClear,
101 CalendarToday,
102 DateFormatDayInMonthLabel,
103 DateFormatMonthLabel,
104 DateFormatYearLabel,
105 DetailsLabel,
106 FileButtonChooseFileLabel,
107 FileButtonChooseMultipleFilesLabel,
108 FileButtonNoFileSelectedLabel,
109 InputElementAltText,
110 KeygenMenuHighGradeKeySize,
111 KeygenMenuMediumGradeKeySize,
112 MissingPluginText,
113 MultipleFileUploadText,
114 OtherColorLabel,
115 OtherDateLabel,
116 OtherMonthLabel,
117 OtherTimeLabel,
118 OtherWeekLabel,
119 // PlaceholderForDayOfMonthField is for day placeholder text, e.g.
120 // "dd", for date field used in multiple fields "date", "datetime", and
121 // "datetime-local" input UI instead of "--".
122 PlaceholderForDayOfMonthField,
123 // PlaceholderForfMonthField is for month placeholder text, e.g.
124 // "mm", for month field used in multiple fields "date", "datetime", and
125 // "datetime-local" input UI instead of "--".
126 PlaceholderForMonthField,
127 // PlaceholderForYearField is for year placeholder text, e.g. "yyyy",
128 // for year field used in multiple fields "date", "datetime", and
129 // "datetime-local" input UI instead of "----".
130 PlaceholderForYearField,
131 ResetButtonDefaultLabel,
132 SearchableIndexIntroduction,
133 SearchMenuClearRecentSearchesText, // Deprecated.
134 SearchMenuNoRecentSearchesText, // Deprecated.
135 SearchMenuRecentSearchesText, // Deprecated.
136 SelectMenuListText,
137 SubmitButtonDefaultLabel,
138 ThisMonthButtonLabel,
139 ThisWeekButtonLabel,
140 ValidationBadInputForNumber,
141 ValidationBadInputForDateTime,
142 ValidationPatternMismatch,
143 ValidationRangeOverflow,
144 ValidationRangeOverflowDateTime,
145 ValidationRangeUnderflow,
146 ValidationRangeUnderflowDateTime,
147 ValidationStepMismatch,
148 ValidationStepMismatchCloseToLimit,
149 ValidationTooLong,
150 ValidationTooShort,
151 ValidationTypeMismatch,
152 ValidationTypeMismatchForEmail,
153 ValidationTypeMismatchForEmailEmpty,
154 ValidationTypeMismatchForEmailEmptyDomain,
155 ValidationTypeMismatchForEmailEmptyLocal,
156 ValidationTypeMismatchForEmailInvalidDomain,
157 ValidationTypeMismatchForEmailInvalidDots,
158 ValidationTypeMismatchForEmailInvalidLocal,
159 ValidationTypeMismatchForEmailNoAtSign,
160 ValidationTypeMismatchForMultipleEmail,
161 ValidationTypeMismatchForURL,
162 ValidationValueMissing,
163 ValidationValueMissingForCheckbox,
164 ValidationValueMissingForFile,
165 ValidationValueMissingForMultipleFile,
166 ValidationValueMissingForRadio,
167 ValidationValueMissingForSelect,
168 WeekFormatTemplate,
169 WeekNumberLabel,
173 } // namespace blink
175 #endif