Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: Source/WebCore/platform/LocalizedStrings.h

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/platform/FileSystem.h ('k') | Source/WebCore/platform/LocalizedStrings.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2009, 2011, 2012, 2013 Apple Inc. All rights reser ved. 2 * Copyright (C) 2003, 2006, 2009, 2011, 2012, 2013 Apple Inc. All rights reser ved.
3 * Copyright (C) 2010 Igalia S.L 3 * Copyright (C) 2010 Igalia S.L
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 String fileButtonNoFileSelectedLabel(); 42 String fileButtonNoFileSelectedLabel();
43 String fileButtonNoFilesSelectedLabel(); 43 String fileButtonNoFilesSelectedLabel();
44 String defaultDetailsSummaryText(); 44 String defaultDetailsSummaryText();
45 45
46 #if PLATFORM(MAC) 46 #if PLATFORM(MAC)
47 String copyImageUnknownFileLabel(); 47 String copyImageUnknownFileLabel();
48 #endif 48 #endif
49 49
50 #if ENABLE(CONTEXT_MENUS) 50 #if ENABLE(CONTEXT_MENUS)
51 String contextMenuItemTagOpenLinkInNewWindow(); 51 String contextMenuItemTagOpenLinkInNewWindow();
52 #if PLATFORM(QT)
53 String contextMenuItemTagOpenLinkInThisWindow();
54 #endif
55 String contextMenuItemTagDownloadLinkToDisk(); 52 String contextMenuItemTagDownloadLinkToDisk();
56 String contextMenuItemTagCopyLinkToClipboard(); 53 String contextMenuItemTagCopyLinkToClipboard();
57 String contextMenuItemTagOpenImageInNewWindow(); 54 String contextMenuItemTagOpenImageInNewWindow();
58 String contextMenuItemTagDownloadImageToDisk(); 55 String contextMenuItemTagDownloadImageToDisk();
59 String contextMenuItemTagCopyImageToClipboard(); 56 String contextMenuItemTagCopyImageToClipboard();
60 #if PLATFORM(QT) || PLATFORM(GTK)
61 String contextMenuItemTagCopyImageUrlToClipboard();
62 #endif
63 String contextMenuItemTagOpenFrameInNewWindow(); 57 String contextMenuItemTagOpenFrameInNewWindow();
64 String contextMenuItemTagCopy(); 58 String contextMenuItemTagCopy();
65 String contextMenuItemTagGoBack(); 59 String contextMenuItemTagGoBack();
66 String contextMenuItemTagGoForward(); 60 String contextMenuItemTagGoForward();
67 String contextMenuItemTagStop(); 61 String contextMenuItemTagStop();
68 String contextMenuItemTagReload(); 62 String contextMenuItemTagReload();
69 String contextMenuItemTagCut(); 63 String contextMenuItemTagCut();
70 String contextMenuItemTagPaste(); 64 String contextMenuItemTagPaste();
71 #if PLATFORM(GTK)
72 String contextMenuItemTagDelete();
73 String contextMenuItemTagInputMethods();
74 String contextMenuItemTagUnicode();
75 String contextMenuItemTagUnicodeInsertLRMMark();
76 String contextMenuItemTagUnicodeInsertRLMMark();
77 String contextMenuItemTagUnicodeInsertLREMark();
78 String contextMenuItemTagUnicodeInsertRLEMark();
79 String contextMenuItemTagUnicodeInsertLROMark();
80 String contextMenuItemTagUnicodeInsertRLOMark();
81 String contextMenuItemTagUnicodeInsertPDFMark();
82 String contextMenuItemTagUnicodeInsertZWSMark();
83 String contextMenuItemTagUnicodeInsertZWJMark();
84 String contextMenuItemTagUnicodeInsertZWNJMark();
85 #endif
86 #if PLATFORM(GTK) || PLATFORM(QT)
87 String contextMenuItemTagSelectAll();
88 #endif
89 String contextMenuItemTagNoGuessesFound(); 65 String contextMenuItemTagNoGuessesFound();
90 String contextMenuItemTagIgnoreSpelling(); 66 String contextMenuItemTagIgnoreSpelling();
91 String contextMenuItemTagLearnSpelling(); 67 String contextMenuItemTagLearnSpelling();
92 String contextMenuItemTagSearchWeb(); 68 String contextMenuItemTagSearchWeb();
93 String contextMenuItemTagLookUpInDictionary(const String& selectedString); 69 String contextMenuItemTagLookUpInDictionary(const String& selectedString);
94 String contextMenuItemTagOpenLink(); 70 String contextMenuItemTagOpenLink();
95 String contextMenuItemTagIgnoreGrammar(); 71 String contextMenuItemTagIgnoreGrammar();
96 String contextMenuItemTagSpellingMenu(); 72 String contextMenuItemTagSpellingMenu();
97 String contextMenuItemTagShowSpellingPanel(bool show); 73 String contextMenuItemTagShowSpellingPanel(bool show);
98 String contextMenuItemTagCheckSpelling(); 74 String contextMenuItemTagCheckSpelling();
99 String contextMenuItemTagCheckSpellingWhileTyping(); 75 String contextMenuItemTagCheckSpellingWhileTyping();
100 String contextMenuItemTagCheckGrammarWithSpelling(); 76 String contextMenuItemTagCheckGrammarWithSpelling();
101 String contextMenuItemTagFontMenu(); 77 String contextMenuItemTagFontMenu();
102 String contextMenuItemTagBold(); 78 String contextMenuItemTagBold();
103 String contextMenuItemTagItalic(); 79 String contextMenuItemTagItalic();
104 String contextMenuItemTagUnderline(); 80 String contextMenuItemTagUnderline();
105 String contextMenuItemTagOutline(); 81 String contextMenuItemTagOutline();
106 String contextMenuItemTagWritingDirectionMenu(); 82 String contextMenuItemTagWritingDirectionMenu();
107 String contextMenuItemTagTextDirectionMenu(); 83 String contextMenuItemTagTextDirectionMenu();
108 String contextMenuItemTagDefaultDirection(); 84 String contextMenuItemTagDefaultDirection();
109 String contextMenuItemTagLeftToRight(); 85 String contextMenuItemTagLeftToRight();
110 String contextMenuItemTagRightToLeft(); 86 String contextMenuItemTagRightToLeft();
111 #if PLATFORM(MAC)
112 String contextMenuItemTagSearchInSpotlight();
113 String contextMenuItemTagShowFonts();
114 String contextMenuItemTagStyles();
115 String contextMenuItemTagShowColors();
116 String contextMenuItemTagSpeechMenu();
117 String contextMenuItemTagStartSpeaking();
118 String contextMenuItemTagStopSpeaking();
119 String contextMenuItemTagCorrectSpellingAutomatically();
120 String contextMenuItemTagSubstitutionsMenu();
121 String contextMenuItemTagShowSubstitutions(bool show);
122 String contextMenuItemTagSmartCopyPaste();
123 String contextMenuItemTagSmartQuotes();
124 String contextMenuItemTagSmartDashes();
125 String contextMenuItemTagSmartLinks();
126 String contextMenuItemTagTextReplacement();
127 String contextMenuItemTagTransformationsMenu();
128 String contextMenuItemTagMakeUpperCase();
129 String contextMenuItemTagMakeLowerCase();
130 String contextMenuItemTagCapitalize();
131 String contextMenuItemTagChangeBack(const String& replacedString);
132 #endif
133 String contextMenuItemTagOpenVideoInNewWindow(); 87 String contextMenuItemTagOpenVideoInNewWindow();
134 String contextMenuItemTagOpenAudioInNewWindow(); 88 String contextMenuItemTagOpenAudioInNewWindow();
135 String contextMenuItemTagCopyVideoLinkToClipboard(); 89 String contextMenuItemTagCopyVideoLinkToClipboard();
136 String contextMenuItemTagCopyAudioLinkToClipboard(); 90 String contextMenuItemTagCopyAudioLinkToClipboard();
137 String contextMenuItemTagToggleMediaControls(); 91 String contextMenuItemTagToggleMediaControls();
138 String contextMenuItemTagToggleMediaLoop(); 92 String contextMenuItemTagToggleMediaLoop();
139 String contextMenuItemTagEnterVideoFullscreen(); 93 String contextMenuItemTagEnterVideoFullscreen();
140 String contextMenuItemTagMediaPlay(); 94 String contextMenuItemTagMediaPlay();
141 String contextMenuItemTagMediaPause(); 95 String contextMenuItemTagMediaPause();
142 String contextMenuItemTagMediaMute(); 96 String contextMenuItemTagMediaMute();
143 String contextMenuItemTagInspectElement(); 97 String contextMenuItemTagInspectElement();
144 #endif // ENABLE(CONTEXT_MENUS) 98 #endif // ENABLE(CONTEXT_MENUS)
145 99
146 String searchMenuNoRecentSearchesText(); 100 String searchMenuNoRecentSearchesText();
147 String searchMenuRecentSearchesText(); 101 String searchMenuRecentSearchesText();
148 String searchMenuClearRecentSearchesText(); 102 String searchMenuClearRecentSearchesText();
149 103
150 String AXWebAreaText(); 104 String AXWebAreaText();
151 String AXLinkText(); 105 String AXLinkText();
152 String AXListMarkerText(); 106 String AXListMarkerText();
153 String AXImageMapText(); 107 String AXImageMapText();
154 String AXHeadingText(); 108 String AXHeadingText();
155 String AXDefinitionText(); 109 String AXDefinitionText();
156 String AXDescriptionListTermText(); 110 String AXDescriptionListTermText();
157 String AXDescriptionListDetailText(); 111 String AXDescriptionListDetailText();
158 String AXFooterRoleDescriptionText(); 112 String AXFooterRoleDescriptionText();
159 String AXFileUploadButtonText(); 113 String AXFileUploadButtonText();
160 #if PLATFORM(MAC)
161 String AXARIAContentGroupText(const String& ariaType);
162 #endif
163
164 String AXButtonActionVerb(); 114 String AXButtonActionVerb();
165 String AXRadioButtonActionVerb(); 115 String AXRadioButtonActionVerb();
166 String AXTextFieldActionVerb(); 116 String AXTextFieldActionVerb();
167 String AXCheckedCheckBoxActionVerb(); 117 String AXCheckedCheckBoxActionVerb();
168 String AXUncheckedCheckBoxActionVerb(); 118 String AXUncheckedCheckBoxActionVerb();
169 String AXMenuListActionVerb(); 119 String AXMenuListActionVerb();
170 String AXMenuListPopupActionVerb(); 120 String AXMenuListPopupActionVerb();
171 String AXLinkActionVerb(); 121 String AXLinkActionVerb();
172 122
173 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) 123 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 155
206 String missingPluginText(); 156 String missingPluginText();
207 String crashedPluginText(); 157 String crashedPluginText();
208 String blockedPluginByContentSecurityPolicyText(); 158 String blockedPluginByContentSecurityPolicyText();
209 String insecurePluginVersionText(); 159 String insecurePluginVersionText();
210 String inactivePluginText(); 160 String inactivePluginText();
211 161
212 String multipleFileUploadText(unsigned numberOfFiles); 162 String multipleFileUploadText(unsigned numberOfFiles);
213 String unknownFileSizeText(); 163 String unknownFileSizeText();
214 164
215 #if PLATFORM(WIN)
216 String uploadFileText();
217 String allFilesText();
218 #endif
219
220 #if PLATFORM(MAC)
221 String builtInPDFPluginName();
222 String pdfDocumentTypeDescription();
223 String postScriptDocumentTypeDescription();
224 String keygenMenuItem512();
225 String keygenMenuItem1024();
226 String keygenMenuItem2048();
227 String keygenKeychainItemName(const String& host);
228 #endif
229
230 #if PLATFORM(IOS)
231 String htmlSelectMultipleItems(size_t num);
232 #endif
233
234 String imageTitle(const String& filename, const IntSize& size); 165 String imageTitle(const String& filename, const IntSize& size);
235 166
236 String mediaElementLoadingStateText(); 167 String mediaElementLoadingStateText();
237 String mediaElementLiveBroadcastStateText(); 168 String mediaElementLiveBroadcastStateText();
238 String localizedMediaControlElementString(const String&); 169 String localizedMediaControlElementString(const String&);
239 String localizedMediaControlElementHelpText(const String&); 170 String localizedMediaControlElementHelpText(const String&);
240 String localizedMediaTimeDescription(float); 171 String localizedMediaTimeDescription(float);
241 172
242 String validationMessageValueMissingText(); 173 String validationMessageValueMissingText();
243 String validationMessageValueMissingForCheckboxText(); 174 String validationMessageValueMissingForCheckboxText();
(...skipping 17 matching lines...) Expand all
261 #if USE(SOUP) 192 #if USE(SOUP)
262 String unacceptableTLSCertificate(); 193 String unacceptableTLSCertificate();
263 #endif 194 #endif
264 195
265 String clickToExitFullScreenText(); 196 String clickToExitFullScreenText();
266 197
267 #if ENABLE(VIDEO_TRACK) 198 #if ENABLE(VIDEO_TRACK)
268 String textTrackSubtitlesText(); 199 String textTrackSubtitlesText();
269 String textTrackOffText(); 200 String textTrackOffText();
270 String textTrackNoLabelText(); 201 String textTrackNoLabelText();
271 #if PLATFORM(MAC)
272 String textTrackCountryAndLanguageMenuItemText(const String& title, const St ring& country, const String& language);
273 String textTrackLanguageMenuItemText(const String& title, const String& lang uage);
274 String closedCaptionTrackMenuItemText(const String&);
275 String sdhTrackMenuItemText(const String&);
276 String easyReaderTrackMenuItemText(const String&);
277 #endif
278 #endif 202 #endif
279 203
280 String snapshottedPlugInLabelTitle(); 204 String snapshottedPlugInLabelTitle();
281 String snapshottedPlugInLabelSubtitle(); 205 String snapshottedPlugInLabelSubtitle();
282
283 #if !PLATFORM(CHROMIUM)
284 #define WEB_UI_STRING(string, description) WebCore::localizedString(string)
285 #define WEB_UI_STRING_KEY(string, key, description) WebCore::localizedString(key )
286
287 String localizedString(const char* key);
288 #endif
289
290 } // namespace WebCore 206 } // namespace WebCore
291 207
292 #endif // LocalizedStrings_h 208 #endif // LocalizedStrings_h
OLDNEW
« no previous file with comments | « Source/WebCore/platform/FileSystem.h ('k') | Source/WebCore/platform/LocalizedStrings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698