OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This file contains utility functions for dealing with localized | 5 // This file contains utility functions for dealing with localized |
6 // content. | 6 // content. |
7 | 7 |
8 #ifndef CHROME_COMMON_L10N_UTIL_H_ | 8 #ifndef CHROME_COMMON_L10N_UTIL_H_ |
9 #define CHROME_COMMON_L10N_UTIL_H_ | 9 #define CHROME_COMMON_L10N_UTIL_H_ |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 | 12 |
13 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
14 #include <windows.h> | 14 #include <windows.h> |
15 #endif | 15 #endif |
16 #include <algorithm> | 16 #include <algorithm> |
| 17 #include <functional> |
17 #include <string> | 18 #include <string> |
18 #include <vector> | 19 #include <vector> |
19 | 20 |
20 #include "base/basictypes.h" | 21 #include "base/basictypes.h" |
21 #include "base/logging.h" | 22 #include "base/logging.h" |
22 #include "base/scoped_ptr.h" | 23 #include "base/scoped_ptr.h" |
23 #include "base/string_util.h" | 24 #include "base/string_util.h" |
24 #include "third_party/icu38/public/common/unicode/ubidi.h" | 25 #include "third_party/icu38/public/common/unicode/ubidi.h" |
25 #include "unicode/coll.h" | 26 #include "unicode/coll.h" |
26 #include "unicode/locid.h" | 27 #include "unicode/locid.h" |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 | 277 |
277 private: | 278 private: |
278 UBiDi* bidi_; | 279 UBiDi* bidi_; |
279 | 280 |
280 DISALLOW_COPY_AND_ASSIGN(BiDiLineIterator); | 281 DISALLOW_COPY_AND_ASSIGN(BiDiLineIterator); |
281 }; | 282 }; |
282 | 283 |
283 } | 284 } |
284 | 285 |
285 #endif // CHROME_COMMON_L10N_UTIL_H_ | 286 #endif // CHROME_COMMON_L10N_UTIL_H_ |
OLD | NEW |