| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ENCODINGS_COMPACT_LANG_DET_LETTERSCRIPT_ENUM_H__ | 5 #ifndef ENCODINGS_COMPACT_LANG_DET_LETTERSCRIPT_ENUM_H__ |
| 6 #define ENCODINGS_COMPACT_LANG_DET_LETTERSCRIPT_ENUM_H__ | 6 #define ENCODINGS_COMPACT_LANG_DET_LETTERSCRIPT_ENUM_H__ |
| 7 | 7 |
| 8 enum UnicodeLScript { | 8 enum UnicodeLScript { |
| 9 ULScript_Common, | 9 ULScript_Common, |
| 10 ULScript_Latin, | 10 ULScript_Latin, |
| 11 ULScript_Greek, | 11 ULScript_Greek, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // Return the name corresponding to the script ls, e.g. "Latin". | 90 // Return the name corresponding to the script ls, e.g. "Latin". |
| 91 // It is a fatal error if ls is not a valid UnicodeLScript. | 91 // It is a fatal error if ls is not a valid UnicodeLScript. |
| 92 const char* UnicodeLScriptName(const UnicodeLScript ls); | 92 const char* UnicodeLScriptName(const UnicodeLScript ls); |
| 93 | 93 |
| 94 | 94 |
| 95 // Return the 4-letter code corresponding to the script ls, e.g. "Latn". | 95 // Return the 4-letter code corresponding to the script ls, e.g. "Latn". |
| 96 // It is a fatal error if ls is not a valid UnicodeLScript. | 96 // It is a fatal error if ls is not a valid UnicodeLScript. |
| 97 const char* UnicodeLScriptCode(const UnicodeLScript ls); | 97 const char* UnicodeLScriptCode(const UnicodeLScript ls); |
| 98 | 98 |
| 99 #endif // ENCODINGS_COMPACT_LANG_DET_LETTERSCRIPT_ENUM_H__ | 99 #endif // ENCODINGS_COMPACT_LANG_DET_LETTERSCRIPT_ENUM_H__ |
| OLD | NEW |