OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 11 matching lines...) Expand all Loading... |
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 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. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "LocalizedStrings.h" | 32 #include "core/platform/LocalizedStrings.h" |
33 | 33 |
34 #include "NotImplemented.h" | 34 #include "core/platform/NotImplemented.h" |
35 #include "core/platform/graphics/IntSize.h" | 35 #include "core/platform/graphics/IntSize.h" |
36 #include "core/platform/text/DateTimeFormat.h" | 36 #include "core/platform/text/DateTimeFormat.h" |
37 | 37 |
38 #include <public/Platform.h> | 38 #include <public/Platform.h> |
39 #include <public/WebLocalizedString.h> | 39 #include <public/WebLocalizedString.h> |
40 #include <public/WebString.h> | 40 #include <public/WebString.h> |
41 #include <wtf/text/StringBuilder.h> | 41 #include <wtf/text/StringBuilder.h> |
42 #include <wtf/text/WTFString.h> | 42 #include <wtf/text/WTFString.h> |
43 | 43 |
44 using WebKit::WebLocalizedString; | 44 using WebKit::WebLocalizedString; |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 { | 330 { |
331 return query(WebLocalizedString::MultipleFileUploadText, String::number(numb
erOfFiles)); | 331 return query(WebLocalizedString::MultipleFileUploadText, String::number(numb
erOfFiles)); |
332 } | 332 } |
333 | 333 |
334 // Used in FTPDirectoryDocument.cpp | 334 // Used in FTPDirectoryDocument.cpp |
335 String unknownFileSizeText() | 335 String unknownFileSizeText() |
336 { | 336 { |
337 return String(); | 337 return String(); |
338 } | 338 } |
339 | 339 |
340 // The following two functions are not declared in LocalizedStrings.h. | 340 // The following two functions are not declared in core/platform/LocalizedString
s.h. |
341 // They are used by the menu for the HTML keygen tag. | 341 // They are used by the menu for the HTML keygen tag. |
342 String keygenMenuHighGradeKeySize() | 342 String keygenMenuHighGradeKeySize() |
343 { | 343 { |
344 return query(WebLocalizedString::KeygenMenuHighGradeKeySize); | 344 return query(WebLocalizedString::KeygenMenuHighGradeKeySize); |
345 } | 345 } |
346 | 346 |
347 String keygenMenuMediumGradeKeySize() | 347 String keygenMenuMediumGradeKeySize() |
348 { | 348 { |
349 return query(WebLocalizedString::KeygenMenuMediumGradeKeySize); | 349 return query(WebLocalizedString::KeygenMenuMediumGradeKeySize); |
350 } | 350 } |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 } | 600 } |
601 | 601 |
602 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 602 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
603 String validationMessageBadInputForDateTimeText() | 603 String validationMessageBadInputForDateTimeText() |
604 { | 604 { |
605 return query(WebLocalizedString::ValidationBadInputForDateTime); | 605 return query(WebLocalizedString::ValidationBadInputForDateTime); |
606 } | 606 } |
607 #endif | 607 #endif |
608 | 608 |
609 } // namespace WebCore | 609 } // namespace WebCore |
OLD | NEW |