Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Side by Side Diff: base/i18n/rtl.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/i18n/file_util_icu.h ('k') | base/mac/bundle_locations.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/string16.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 14
15 namespace base {
16
15 class FilePath; 17 class FilePath;
16 18
17 namespace base {
18 namespace i18n { 19 namespace i18n {
19 20
20 const char16 kRightToLeftMark = 0x200F; 21 const char16 kRightToLeftMark = 0x200F;
21 const char16 kLeftToRightMark = 0x200E; 22 const char16 kLeftToRightMark = 0x200E;
22 const char16 kLeftToRightEmbeddingMark = 0x202A; 23 const char16 kLeftToRightEmbeddingMark = 0x202A;
23 const char16 kRightToLeftEmbeddingMark = 0x202B; 24 const char16 kRightToLeftEmbeddingMark = 0x202B;
24 const char16 kPopDirectionalFormatting = 0x202C; 25 const char16 kPopDirectionalFormatting = 0x202C;
25 const char16 kLeftToRightOverride = 0x202D; 26 const char16 kLeftToRightOverride = 0x202D;
26 const char16 kRightToLeftOverride = 0x202E; 27 const char16 kRightToLeftOverride = 0x202E;
27 28
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // return the text itself. Explicit bidi control characters display and have 128 // return the text itself. Explicit bidi control characters display and have
128 // semantic effect. They can be deleted so they might not always appear in a 129 // semantic effect. They can be deleted so they might not always appear in a
129 // pair. 130 // pair.
130 BASE_I18N_EXPORT string16 StripWrappingBidiControlCharacters( 131 BASE_I18N_EXPORT string16 StripWrappingBidiControlCharacters(
131 const string16& text) WARN_UNUSED_RESULT; 132 const string16& text) WARN_UNUSED_RESULT;
132 133
133 } // namespace i18n 134 } // namespace i18n
134 } // namespace base 135 } // namespace base
135 136
136 #endif // BASE_I18N_RTL_H_ 137 #endif // BASE_I18N_RTL_H_
OLDNEW
« no previous file with comments | « base/i18n/file_util_icu.h ('k') | base/mac/bundle_locations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698