Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebLocalizedString.h
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         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         AxMediaCastOffButton,
56         AxMediaCastOffButtonHelp,
57         AxMediaCastOnButton,
58         AxMediaCastOnButtonHelp,
59         AXMediaCurrentTimeDisplay,
60         AXMediaCurrentTimeDisplayHelp,
61         AXMediaDefault,
62         AXMediaEnterFullscreenButton,
63         AXMediaEnterFullscreenButtonHelp,
64         AXMediaExitFullscreenButton,
65         AXMediaExitFullscreenButtonHelp,
66         AXMediaHideClosedCaptionsButton,
67         AXMediaHideClosedCaptionsButtonHelp,
68         AXMediaMuteButton,
69         AXMediaMuteButtonHelp,
70         AXMediaPauseButton,
71         AXMediaPauseButtonHelp,
72         AXMediaPlayButton,
73         AXMediaPlayButtonHelp,
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         SelectMenuListText,
136         SubmitButtonDefaultLabel,
137         ThisMonthButtonLabel,
138         ThisWeekButtonLabel,
139         ValidationBadInputForNumber,
140         ValidationBadInputForDateTime,
141         ValidationPatternMismatch,
142         ValidationRangeOverflow,
143         ValidationRangeOverflowDateTime,
144         ValidationRangeUnderflow,
145         ValidationRangeUnderflowDateTime,
146         ValidationStepMismatch,
147         ValidationStepMismatchCloseToLimit,
148         ValidationTooLong,
149         ValidationTypeMismatch,
150         ValidationTypeMismatchForEmail,
151         ValidationTypeMismatchForEmailEmpty,
152         ValidationTypeMismatchForEmailEmptyDomain,
153         ValidationTypeMismatchForEmailEmptyLocal,
154         ValidationTypeMismatchForEmailInvalidDomain,
155         ValidationTypeMismatchForEmailInvalidDots,
156         ValidationTypeMismatchForEmailInvalidLocal,
157         ValidationTypeMismatchForEmailNoAtSign,
158         ValidationTypeMismatchForMultipleEmail,
159         ValidationTypeMismatchForURL,
160         ValidationValueMissing,
161         ValidationValueMissingForCheckbox,
162         ValidationValueMissingForFile,
163         ValidationValueMissingForMultipleFile,
164         ValidationValueMissingForRadio,
165         ValidationValueMissingForSelect,
166         WeekFormatTemplate,
167         WeekNumberLabel,
168     };
169 };
170
171 } // namespace blink
172
173 #endif