2009-08-25 Eric Carlson <eric.carlson@apple.com>
[WebKit-https.git] / WebCore / platform / mac / LocalizedStringsMac.mm
1 /*
2  * Copyright (C) 2003, 2006, 2009 Apple Computer, 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
6  * are met:
7  * 1. Redistributions of source code must retain the above copyright
8  *    notice, this list of conditions and the following disclaimer.
9  * 2. Redistributions in binary form must reproduce the above copyright
10  *    notice, this list of conditions and the following disclaimer in the
11  *    documentation and/or other materials provided with the distribution.
12  *
13  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
14  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
17  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
24  */
25
26 #import "config.h"
27 #import "LocalizedStrings.h"
28
29 #import "BlockExceptions.h"
30 #import "IntSize.h"
31 #import "PlatformString.h"
32 #import "WebCoreViewFactory.h"
33
34 namespace WebCore {
35
36 String inputElementAltText()
37 {
38     BEGIN_BLOCK_OBJC_EXCEPTIONS;
39     return [[WebCoreViewFactory sharedFactory] inputElementAltText];
40     END_BLOCK_OBJC_EXCEPTIONS;
41     return String();
42 }
43
44 String resetButtonDefaultLabel()
45 {
46     BEGIN_BLOCK_OBJC_EXCEPTIONS;
47     return [[WebCoreViewFactory sharedFactory] resetButtonDefaultLabel];
48     END_BLOCK_OBJC_EXCEPTIONS;
49     return String();
50 }
51
52 String searchableIndexIntroduction()
53 {
54     BEGIN_BLOCK_OBJC_EXCEPTIONS;
55     return [[WebCoreViewFactory sharedFactory] searchableIndexIntroduction];
56     END_BLOCK_OBJC_EXCEPTIONS;
57     return String();
58 }
59
60 String submitButtonDefaultLabel()
61 {
62     BEGIN_BLOCK_OBJC_EXCEPTIONS;
63     return [[WebCoreViewFactory sharedFactory] submitButtonDefaultLabel];
64     END_BLOCK_OBJC_EXCEPTIONS;
65     return String();
66 }
67
68 String fileButtonChooseFileLabel()
69 {
70     BEGIN_BLOCK_OBJC_EXCEPTIONS;
71     return [[WebCoreViewFactory sharedFactory] fileButtonChooseFileLabel];
72     END_BLOCK_OBJC_EXCEPTIONS;
73     return String();
74 }
75
76 String fileButtonNoFileSelectedLabel()
77 {
78     BEGIN_BLOCK_OBJC_EXCEPTIONS;
79     return [[WebCoreViewFactory sharedFactory] fileButtonNoFileSelectedLabel];
80     END_BLOCK_OBJC_EXCEPTIONS;
81     return String();
82 }
83
84 String copyImageUnknownFileLabel()
85 {
86     BEGIN_BLOCK_OBJC_EXCEPTIONS;
87     return [[WebCoreViewFactory sharedFactory] copyImageUnknownFileLabel];
88     END_BLOCK_OBJC_EXCEPTIONS;
89     return String();
90 }
91
92 String contextMenuItemTagOpenLinkInNewWindow()
93 {
94     BEGIN_BLOCK_OBJC_EXCEPTIONS;
95     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagOpenLinkInNewWindow];
96     END_BLOCK_OBJC_EXCEPTIONS;
97     return String();
98 }
99
100 String contextMenuItemTagDownloadLinkToDisk()
101 {
102     BEGIN_BLOCK_OBJC_EXCEPTIONS;
103     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagDownloadLinkToDisk];
104     END_BLOCK_OBJC_EXCEPTIONS;
105     return String();
106 }
107
108 String contextMenuItemTagCopyLinkToClipboard()
109 {
110     BEGIN_BLOCK_OBJC_EXCEPTIONS;
111     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagCopyLinkToClipboard];
112     END_BLOCK_OBJC_EXCEPTIONS;
113     return String();
114 }
115
116 String contextMenuItemTagOpenImageInNewWindow()
117 {
118     BEGIN_BLOCK_OBJC_EXCEPTIONS;
119     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagOpenImageInNewWindow];
120     END_BLOCK_OBJC_EXCEPTIONS;
121     return String();
122 }
123
124 String contextMenuItemTagDownloadImageToDisk()
125 {
126     BEGIN_BLOCK_OBJC_EXCEPTIONS;
127     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagDownloadImageToDisk];
128     END_BLOCK_OBJC_EXCEPTIONS;
129     return String();
130 }
131
132 String contextMenuItemTagCopyImageToClipboard()
133 {
134     BEGIN_BLOCK_OBJC_EXCEPTIONS;
135     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagCopyImageToClipboard];
136     END_BLOCK_OBJC_EXCEPTIONS;
137     return String();
138 }
139
140 String contextMenuItemTagOpenFrameInNewWindow()
141 {
142     BEGIN_BLOCK_OBJC_EXCEPTIONS;
143     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagOpenFrameInNewWindow];
144     END_BLOCK_OBJC_EXCEPTIONS;
145     return String();
146 }
147
148 String contextMenuItemTagCopy()
149 {
150     BEGIN_BLOCK_OBJC_EXCEPTIONS;
151     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagCopy];
152     END_BLOCK_OBJC_EXCEPTIONS;
153     return String();
154 }
155
156 String contextMenuItemTagGoBack()
157 {
158     BEGIN_BLOCK_OBJC_EXCEPTIONS;
159     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagGoBack];
160     END_BLOCK_OBJC_EXCEPTIONS;
161     return String();
162 }
163
164 String contextMenuItemTagGoForward()
165 {
166     BEGIN_BLOCK_OBJC_EXCEPTIONS;
167     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagGoForward];
168     END_BLOCK_OBJC_EXCEPTIONS;
169     return String();
170 }
171
172 String contextMenuItemTagStop()
173 {
174     BEGIN_BLOCK_OBJC_EXCEPTIONS;
175     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagStop];
176     END_BLOCK_OBJC_EXCEPTIONS;
177     return String();
178 }
179
180 String contextMenuItemTagReload()
181 {
182     BEGIN_BLOCK_OBJC_EXCEPTIONS;
183     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagReload];
184     END_BLOCK_OBJC_EXCEPTIONS;
185     return String();
186 }
187
188 String contextMenuItemTagCut()
189 {
190     BEGIN_BLOCK_OBJC_EXCEPTIONS;
191     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagCut];
192     END_BLOCK_OBJC_EXCEPTIONS;
193     return String();
194 }
195
196 String contextMenuItemTagPaste()
197 {
198     BEGIN_BLOCK_OBJC_EXCEPTIONS;
199     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagPaste];
200     END_BLOCK_OBJC_EXCEPTIONS;
201     return String();
202 }
203
204 String contextMenuItemTagNoGuessesFound()
205 {
206     BEGIN_BLOCK_OBJC_EXCEPTIONS;
207     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagNoGuessesFound];
208     END_BLOCK_OBJC_EXCEPTIONS;
209     return String();
210 }
211
212 String contextMenuItemTagIgnoreSpelling()
213 {
214     BEGIN_BLOCK_OBJC_EXCEPTIONS;
215     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagIgnoreSpelling];
216     END_BLOCK_OBJC_EXCEPTIONS;
217     return String();
218 }
219
220 String contextMenuItemTagLearnSpelling()
221 {
222     BEGIN_BLOCK_OBJC_EXCEPTIONS;
223     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagLearnSpelling];
224     END_BLOCK_OBJC_EXCEPTIONS;
225     return String();
226 }
227
228 String contextMenuItemTagSearchInSpotlight()
229 {
230     BEGIN_BLOCK_OBJC_EXCEPTIONS;
231     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagSearchInSpotlight];
232     END_BLOCK_OBJC_EXCEPTIONS;
233     return String();
234 }
235
236 String contextMenuItemTagSearchWeb()
237 {
238     BEGIN_BLOCK_OBJC_EXCEPTIONS;
239     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagSearchWeb];
240     END_BLOCK_OBJC_EXCEPTIONS;
241     return String();
242 }
243
244 String contextMenuItemTagLookUpInDictionary()
245 {
246     BEGIN_BLOCK_OBJC_EXCEPTIONS;
247     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagLookUpInDictionary];
248     END_BLOCK_OBJC_EXCEPTIONS;
249     return String();
250 }
251
252 String contextMenuItemTagOpenLink()
253 {
254     BEGIN_BLOCK_OBJC_EXCEPTIONS;
255     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagOpenLink];
256     END_BLOCK_OBJC_EXCEPTIONS;
257     return String();
258 }
259
260 String contextMenuItemTagIgnoreGrammar()
261 {
262     BEGIN_BLOCK_OBJC_EXCEPTIONS;
263     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagIgnoreGrammar];
264     END_BLOCK_OBJC_EXCEPTIONS;
265     return String();
266 }
267
268 String contextMenuItemTagSpellingMenu()
269 {
270     BEGIN_BLOCK_OBJC_EXCEPTIONS;
271     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagSpellingMenu];
272     END_BLOCK_OBJC_EXCEPTIONS;
273     return String();
274 }
275
276 String contextMenuItemTagShowSpellingPanel(bool show)
277 {
278     BEGIN_BLOCK_OBJC_EXCEPTIONS;
279     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagShowSpellingPanel:show];
280     END_BLOCK_OBJC_EXCEPTIONS;
281     return String();
282 }
283
284 String contextMenuItemTagCheckSpelling()
285 {
286     BEGIN_BLOCK_OBJC_EXCEPTIONS;
287     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagCheckSpelling];
288     END_BLOCK_OBJC_EXCEPTIONS;
289     return String();
290 }
291
292 String contextMenuItemTagCheckSpellingWhileTyping()
293 {
294     BEGIN_BLOCK_OBJC_EXCEPTIONS;
295     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagCheckSpellingWhileTyping];
296     END_BLOCK_OBJC_EXCEPTIONS;
297     return String();
298 }
299
300 String contextMenuItemTagCheckGrammarWithSpelling()
301 {
302     BEGIN_BLOCK_OBJC_EXCEPTIONS;
303     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagCheckGrammarWithSpelling];
304     END_BLOCK_OBJC_EXCEPTIONS;
305     return String();
306 }
307
308 String contextMenuItemTagFontMenu()
309 {
310     BEGIN_BLOCK_OBJC_EXCEPTIONS;
311     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagFontMenu];
312     END_BLOCK_OBJC_EXCEPTIONS;
313     return String();
314 }
315
316 String contextMenuItemTagShowFonts()
317 {
318     BEGIN_BLOCK_OBJC_EXCEPTIONS;
319     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagShowFonts];
320     END_BLOCK_OBJC_EXCEPTIONS;
321     return String();
322 }
323
324 String contextMenuItemTagBold()
325 {
326     BEGIN_BLOCK_OBJC_EXCEPTIONS;
327     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagBold];
328     END_BLOCK_OBJC_EXCEPTIONS;
329     return String();
330 }
331
332 String contextMenuItemTagItalic()
333 {
334     BEGIN_BLOCK_OBJC_EXCEPTIONS;
335     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagItalic];
336     END_BLOCK_OBJC_EXCEPTIONS;
337     return String();
338 }
339
340 String contextMenuItemTagUnderline()
341 {
342     BEGIN_BLOCK_OBJC_EXCEPTIONS;
343     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagUnderline];
344     END_BLOCK_OBJC_EXCEPTIONS;
345     return String();
346 }
347
348 String contextMenuItemTagOutline()
349 {
350     BEGIN_BLOCK_OBJC_EXCEPTIONS;
351     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagOutline];
352     END_BLOCK_OBJC_EXCEPTIONS;
353     return String();
354 }
355
356 String contextMenuItemTagStyles()
357 {
358     BEGIN_BLOCK_OBJC_EXCEPTIONS;
359     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagStyles];
360     END_BLOCK_OBJC_EXCEPTIONS;
361     return String();
362 }
363
364 String contextMenuItemTagShowColors()
365 {
366     BEGIN_BLOCK_OBJC_EXCEPTIONS;
367     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagShowColors];
368     END_BLOCK_OBJC_EXCEPTIONS;
369     return String();
370 }
371
372 String contextMenuItemTagSpeechMenu()
373 {
374     BEGIN_BLOCK_OBJC_EXCEPTIONS;
375     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagSpeechMenu];
376     END_BLOCK_OBJC_EXCEPTIONS;
377     return String();
378 }
379
380 String contextMenuItemTagStartSpeaking()
381 {
382     BEGIN_BLOCK_OBJC_EXCEPTIONS;
383     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagStartSpeaking];
384     END_BLOCK_OBJC_EXCEPTIONS;
385     return String();
386 }
387
388 String contextMenuItemTagStopSpeaking()
389 {
390     BEGIN_BLOCK_OBJC_EXCEPTIONS;
391     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagStopSpeaking];
392     END_BLOCK_OBJC_EXCEPTIONS;
393     return String();
394 }
395
396 String contextMenuItemTagWritingDirectionMenu()
397 {
398     BEGIN_BLOCK_OBJC_EXCEPTIONS;
399     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagWritingDirectionMenu];
400     END_BLOCK_OBJC_EXCEPTIONS;
401     return String();
402 }
403
404 String contextMenuItemTagTextDirectionMenu()
405 {
406     BEGIN_BLOCK_OBJC_EXCEPTIONS;
407     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagTextDirectionMenu];
408     END_BLOCK_OBJC_EXCEPTIONS;
409     return String();
410 }
411
412 String contextMenuItemTagDefaultDirection()
413 {
414     BEGIN_BLOCK_OBJC_EXCEPTIONS;
415     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagDefaultDirection];
416     END_BLOCK_OBJC_EXCEPTIONS;
417     return String();
418 }
419
420 String contextMenuItemTagLeftToRight()
421 {
422     BEGIN_BLOCK_OBJC_EXCEPTIONS;
423     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagLeftToRight];
424     END_BLOCK_OBJC_EXCEPTIONS;
425     return String();
426 }
427
428 String contextMenuItemTagRightToLeft()
429 {
430     BEGIN_BLOCK_OBJC_EXCEPTIONS;
431     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagRightToLeft];
432     END_BLOCK_OBJC_EXCEPTIONS;
433     return String();
434 }
435
436 String contextMenuItemTagCorrectSpellingAutomatically()
437 {
438     BEGIN_BLOCK_OBJC_EXCEPTIONS;
439     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagCorrectSpellingAutomatically];
440     END_BLOCK_OBJC_EXCEPTIONS;
441     return String();
442 }
443
444 String contextMenuItemTagSubstitutionsMenu()
445 {
446     BEGIN_BLOCK_OBJC_EXCEPTIONS;
447     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagSubstitutionsMenu];
448     END_BLOCK_OBJC_EXCEPTIONS;
449     return String();
450 }
451
452 String contextMenuItemTagShowSubstitutions(bool show)
453 {
454     BEGIN_BLOCK_OBJC_EXCEPTIONS;
455     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagShowSubstitutions:show];
456     END_BLOCK_OBJC_EXCEPTIONS;
457     return String();
458 }
459
460 String contextMenuItemTagSmartCopyPaste()
461 {
462     BEGIN_BLOCK_OBJC_EXCEPTIONS;
463     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagSmartCopyPaste];
464     END_BLOCK_OBJC_EXCEPTIONS;
465     return String();
466 }
467
468 String contextMenuItemTagSmartQuotes()
469 {
470     BEGIN_BLOCK_OBJC_EXCEPTIONS;
471     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagSmartQuotes];
472     END_BLOCK_OBJC_EXCEPTIONS;
473     return String();
474 }
475
476 String contextMenuItemTagSmartDashes()
477 {
478     BEGIN_BLOCK_OBJC_EXCEPTIONS;
479     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagSmartDashes];
480     END_BLOCK_OBJC_EXCEPTIONS;
481     return String();
482 }
483
484 String contextMenuItemTagSmartLinks()
485 {
486     BEGIN_BLOCK_OBJC_EXCEPTIONS;
487     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagSmartLinks];
488     END_BLOCK_OBJC_EXCEPTIONS;
489     return String();
490 }
491
492 String contextMenuItemTagTextReplacement()
493 {
494     BEGIN_BLOCK_OBJC_EXCEPTIONS;
495     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagTextReplacement];
496     END_BLOCK_OBJC_EXCEPTIONS;
497     return String();
498 }
499
500 String contextMenuItemTagTransformationsMenu()
501 {
502     BEGIN_BLOCK_OBJC_EXCEPTIONS;
503     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagTransformationsMenu];
504     END_BLOCK_OBJC_EXCEPTIONS;
505     return String();
506 }
507
508 String contextMenuItemTagMakeUpperCase()
509 {
510     BEGIN_BLOCK_OBJC_EXCEPTIONS;
511     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagMakeUpperCase];
512     END_BLOCK_OBJC_EXCEPTIONS;
513     return String();
514 }
515
516 String contextMenuItemTagMakeLowerCase()
517 {
518     BEGIN_BLOCK_OBJC_EXCEPTIONS;
519     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagMakeLowerCase];
520     END_BLOCK_OBJC_EXCEPTIONS;
521     return String();
522 }
523
524 String contextMenuItemTagCapitalize()
525 {
526     BEGIN_BLOCK_OBJC_EXCEPTIONS;
527     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagCapitalize];
528     END_BLOCK_OBJC_EXCEPTIONS;
529     return String();
530 }
531
532 String contextMenuItemTagChangeBack(const String& replacedString)
533 {
534     BEGIN_BLOCK_OBJC_EXCEPTIONS;
535     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagChangeBack:replacedString];
536     END_BLOCK_OBJC_EXCEPTIONS;
537     return replacedString;
538 }
539     
540 String contextMenuItemTagInspectElement()
541 {
542     BEGIN_BLOCK_OBJC_EXCEPTIONS;
543     return [[WebCoreViewFactory sharedFactory] contextMenuItemTagInspectElement];
544     END_BLOCK_OBJC_EXCEPTIONS;
545     return String();
546 }
547
548 String searchMenuNoRecentSearchesText()
549 {
550     BEGIN_BLOCK_OBJC_EXCEPTIONS;
551     return [[WebCoreViewFactory sharedFactory] searchMenuNoRecentSearchesText];
552     END_BLOCK_OBJC_EXCEPTIONS;
553     return String();
554 }
555
556 String searchMenuRecentSearchesText ()
557 {
558     BEGIN_BLOCK_OBJC_EXCEPTIONS;
559     return [[WebCoreViewFactory sharedFactory] searchMenuRecentSearchesText];
560     END_BLOCK_OBJC_EXCEPTIONS;
561     return String();
562 }
563
564 String searchMenuClearRecentSearchesText()
565 {
566     BEGIN_BLOCK_OBJC_EXCEPTIONS;
567     return [[WebCoreViewFactory sharedFactory] searchMenuClearRecentSearchesText];
568     END_BLOCK_OBJC_EXCEPTIONS;
569     return String();
570 }
571
572 String AXWebAreaText()
573 {
574     BEGIN_BLOCK_OBJC_EXCEPTIONS;
575     return [[WebCoreViewFactory sharedFactory] AXWebAreaText];
576     END_BLOCK_OBJC_EXCEPTIONS;
577     return String();
578 }
579
580 String AXLinkText()
581 {
582     BEGIN_BLOCK_OBJC_EXCEPTIONS;
583     return [[WebCoreViewFactory sharedFactory] AXLinkText];
584     END_BLOCK_OBJC_EXCEPTIONS;
585     return String();
586 }
587
588 String AXListMarkerText()
589 {
590     BEGIN_BLOCK_OBJC_EXCEPTIONS;
591     return [[WebCoreViewFactory sharedFactory] AXListMarkerText];
592     END_BLOCK_OBJC_EXCEPTIONS;
593     return String();
594 }
595
596 String AXImageMapText()
597 {
598     BEGIN_BLOCK_OBJC_EXCEPTIONS;
599     return [[WebCoreViewFactory sharedFactory] AXImageMapText];
600     END_BLOCK_OBJC_EXCEPTIONS;
601     return String();
602 }
603
604 String AXHeadingText()
605 {
606     BEGIN_BLOCK_OBJC_EXCEPTIONS;
607     return [[WebCoreViewFactory sharedFactory] AXHeadingText];
608     END_BLOCK_OBJC_EXCEPTIONS;
609     return String();
610 }
611
612 String AXDefinitionListTermText()
613 {
614     BEGIN_BLOCK_OBJC_EXCEPTIONS;
615     return [[WebCoreViewFactory sharedFactory] AXDefinitionListTermText];
616     END_BLOCK_OBJC_EXCEPTIONS;
617     return String();
618 }
619     
620 String AXDefinitionListDefinitionText()
621 {
622     BEGIN_BLOCK_OBJC_EXCEPTIONS;
623     return [[WebCoreViewFactory sharedFactory] AXDefinitionListDefinitionText];
624     END_BLOCK_OBJC_EXCEPTIONS;
625     return String();
626 }
627     
628 String AXARIAContentGroupText(const String& ariaType)
629 {
630     BEGIN_BLOCK_OBJC_EXCEPTIONS;
631     return [[WebCoreViewFactory sharedFactory] AXARIAContentGroupText:ariaType];
632     END_BLOCK_OBJC_EXCEPTIONS;
633     return String();        
634 }
635     
636 String AXButtonActionVerb()
637 {
638     BEGIN_BLOCK_OBJC_EXCEPTIONS;
639     return [[WebCoreViewFactory sharedFactory] AXButtonActionVerb];
640     END_BLOCK_OBJC_EXCEPTIONS;
641     return String();
642 }
643
644 String AXRadioButtonActionVerb()
645 {
646     BEGIN_BLOCK_OBJC_EXCEPTIONS;
647     return [[WebCoreViewFactory sharedFactory] AXRadioButtonActionVerb];
648     END_BLOCK_OBJC_EXCEPTIONS;
649     return String();
650 }
651
652 String AXTextFieldActionVerb()
653 {
654     BEGIN_BLOCK_OBJC_EXCEPTIONS;
655     return [[WebCoreViewFactory sharedFactory] AXTextFieldActionVerb];
656     END_BLOCK_OBJC_EXCEPTIONS;
657     return String();
658 }
659
660 String AXCheckedCheckBoxActionVerb()
661 {
662     BEGIN_BLOCK_OBJC_EXCEPTIONS;
663     return [[WebCoreViewFactory sharedFactory] AXCheckedCheckBoxActionVerb];
664     END_BLOCK_OBJC_EXCEPTIONS;
665     return String();
666 }
667
668 String AXUncheckedCheckBoxActionVerb()
669 {
670     BEGIN_BLOCK_OBJC_EXCEPTIONS;
671     return [[WebCoreViewFactory sharedFactory] AXUncheckedCheckBoxActionVerb];
672     END_BLOCK_OBJC_EXCEPTIONS;
673     return String();
674 }
675
676 String AXLinkActionVerb()
677 {
678     BEGIN_BLOCK_OBJC_EXCEPTIONS;
679     return [[WebCoreViewFactory sharedFactory] AXLinkActionVerb];
680     END_BLOCK_OBJC_EXCEPTIONS;
681     return String();
682 }
683
684 String multipleFileUploadText(unsigned numberOfFiles)
685 {
686     BEGIN_BLOCK_OBJC_EXCEPTIONS;
687     return [[WebCoreViewFactory sharedFactory] multipleFileUploadTextForNumberOfFiles:numberOfFiles];
688     END_BLOCK_OBJC_EXCEPTIONS;
689     return String();
690 }
691
692 String unknownFileSizeText()
693 {
694     BEGIN_BLOCK_OBJC_EXCEPTIONS;
695     return [[WebCoreViewFactory sharedFactory] unknownFileSizeText];
696     END_BLOCK_OBJC_EXCEPTIONS;
697     return String();
698 }
699
700 String imageTitle(const String& filename, const IntSize& size)
701 {
702     BEGIN_BLOCK_OBJC_EXCEPTIONS;
703     return [[WebCoreViewFactory sharedFactory] imageTitleForFilename:filename width:size.width() height:size.height()];
704     END_BLOCK_OBJC_EXCEPTIONS;
705     return String();
706 }
707
708 String mediaElementLoadingStateText()
709 {
710     BEGIN_BLOCK_OBJC_EXCEPTIONS;
711     return [[WebCoreViewFactory sharedFactory] mediaElementLoadingStateText];
712     END_BLOCK_OBJC_EXCEPTIONS;
713     return String();
714 }
715
716 String mediaElementLiveBroadcastStateText()
717 {
718     BEGIN_BLOCK_OBJC_EXCEPTIONS;
719     return [[WebCoreViewFactory sharedFactory] mediaElementLiveBroadcastStateText];
720     END_BLOCK_OBJC_EXCEPTIONS;
721     return String();
722 }
723
724 String localizedMediaControlElementString(const String& controlName)
725 {
726     BEGIN_BLOCK_OBJC_EXCEPTIONS;
727     return [[WebCoreViewFactory sharedFactory] localizedMediaControlElementString:controlName];
728     END_BLOCK_OBJC_EXCEPTIONS;
729     return String();
730 }
731
732 String localizedMediaControlElementHelpText(const String& controlName)
733 {
734     BEGIN_BLOCK_OBJC_EXCEPTIONS;
735     return [[WebCoreViewFactory sharedFactory] localizedMediaControlElementHelpText:controlName];
736     END_BLOCK_OBJC_EXCEPTIONS;
737     return String();
738 }
739
740 String localizedMediaTimeDescription(float time)
741 {
742     BEGIN_BLOCK_OBJC_EXCEPTIONS;
743     return [[WebCoreViewFactory sharedFactory] localizedMediaTimeDescription:time];
744     END_BLOCK_OBJC_EXCEPTIONS;
745     return String();
746 }
747
748
749 }