| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 BASE_I18N_RTL_H_ | 5 #ifndef BASE_I18N_RTL_H_ |
| 6 #define BASE_I18N_RTL_H_ | 6 #define BASE_I18N_RTL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/i18n/base_i18n_export.h" | 11 #include "base/i18n/base_i18n_export.h" |
| 12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 | 16 |
| 17 class FilePath; | 17 class FilePath; |
| 18 | 18 |
| 19 namespace i18n { | 19 namespace i18n { |
| 20 | 20 |
| 21 const char16 kRightToLeftMark = 0x200F; | 21 const char16 kRightToLeftMark = 0x200F; |
| 22 const char16 kLeftToRightMark = 0x200E; | 22 const char16 kLeftToRightMark = 0x200E; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 // return the text itself. Explicit bidi control characters display and have | 137 // return the text itself. Explicit bidi control characters display and have |
| 138 // semantic effect. They can be deleted so they might not always appear in a | 138 // semantic effect. They can be deleted so they might not always appear in a |
| 139 // pair. | 139 // pair. |
| 140 BASE_I18N_EXPORT string16 StripWrappingBidiControlCharacters( | 140 BASE_I18N_EXPORT string16 StripWrappingBidiControlCharacters( |
| 141 const string16& text) WARN_UNUSED_RESULT; | 141 const string16& text) WARN_UNUSED_RESULT; |
| 142 | 142 |
| 143 } // namespace i18n | 143 } // namespace i18n |
| 144 } // namespace base | 144 } // namespace base |
| 145 | 145 |
| 146 #endif // BASE_I18N_RTL_H_ | 146 #endif // BASE_I18N_RTL_H_ |
| OLD | NEW |