Upstream version 5.34.98.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         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         SubmitButtonDefaultLabel,
128         ThisMonthButtonLabel,
129         ThisWeekButtonLabel,
130         ValidationBadInputForNumber,
131         ValidationBadInputForDateTime,
132         ValidationPatternMismatch,
133         ValidationRangeOverflow,
134         ValidationRangeOverflowDateTime,
135         ValidationRangeUnderflow,
136         ValidationRangeUnderflowDateTime,
137         ValidationStepMismatch,
138         ValidationStepMismatchCloseToLimit,
139         ValidationTooLong,
140         ValidationTypeMismatch,
141         ValidationTypeMismatchForEmail,
142         ValidationTypeMismatchForEmailEmpty,
143         ValidationTypeMismatchForEmailEmptyDomain,
144         ValidationTypeMismatchForEmailEmptyLocal,
145         ValidationTypeMismatchForEmailInvalidDomain,
146         ValidationTypeMismatchForEmailInvalidDots,
147         ValidationTypeMismatchForEmailInvalidLocal,
148         ValidationTypeMismatchForEmailNoAtSign,
149         ValidationTypeMismatchForMultipleEmail,
150         ValidationTypeMismatchForURL,
151         ValidationValueMissing,
152         ValidationValueMissingForCheckbox,
153         ValidationValueMissingForFile,
154         ValidationValueMissingForMultipleFile,
155         ValidationValueMissingForRadio,
156         ValidationValueMissingForSelect,
157         WeekFormatTemplate,
158         WeekNumberLabel,
159     };
160 };
161
162 } // namespace blink
163
164 #endif