| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2010, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2010, 2013 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 // Returns a BCP-47 language tag such as "en-US". This is the UI locale of the | 35 // Returns a BCP-47 language tag such as "en-US". This is the UI locale of the |
| 36 // browser application. | 36 // browser application. |
| 37 PLATFORM_EXPORT AtomicString defaultLanguage(); | 37 PLATFORM_EXPORT AtomicString defaultLanguage(); |
| 38 // Returns a list of BCP-47 language tags. This never returns multiple values | 38 // Returns a list of BCP-47 language tags. This never returns multiple values |
| 39 // in production. This is not a value of Accept-Languages header. See | 39 // in production. This is not a value of Accept-Languages header. See |
| 40 // ChromeClient::acceptLanguages. | 40 // ChromeClient::acceptLanguages. |
| 41 PLATFORM_EXPORT Vector<AtomicString> userPreferredLanguages(); | 41 PLATFORM_EXPORT Vector<AtomicString> userPreferredLanguages(); |
| 42 PLATFORM_EXPORT void overrideUserPreferredLanguages(const Vector<AtomicString>&)
; | 42 PLATFORM_EXPORT void overrideUserPreferredLanguages(const Vector<AtomicString>&)
; |
| 43 PLATFORM_EXPORT size_t indexOfBestMatchingLanguageInList(const AtomicString& lan
guage, const Vector<AtomicString>& languageList); | 43 PLATFORM_EXPORT size_t indexOfBestMatchingLanguageInList(const AtomicString& lan
guage, const Vector<AtomicString>& languageList); |
| 44 | 44 |
| 45 } | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif | 47 #endif |
| OLD | NEW |