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 UI_BASE_L10N_L10N_UTIL_WIN_H_ | 5 #ifndef UI_BASE_L10N_L10N_UTIL_WIN_H_ |
6 #define UI_BASE_L10N_L10N_UTIL_WIN_H_ | 6 #define UI_BASE_L10N_L10N_UTIL_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "ui/base/ui_export.h" | 13 #include "ui/base/ui_export.h" |
14 | 14 |
15 namespace l10n_util { | 15 namespace l10n_util { |
16 | 16 |
17 // Returns the locale-dependent extended window styles. | 17 // Returns the locale-dependent extended window styles. |
18 // This function is used for adding locale-dependent extended window styles | 18 // This function is used for adding locale-dependent extended window styles |
19 // (e.g. WS_EX_LAYOUTRTL, WS_EX_RTLREADING, etc.) when creating a window. | 19 // (e.g. WS_EX_LAYOUTRTL, WS_EX_RTLREADING, etc.) when creating a window. |
20 // Callers should OR this value into their extended style value when creating | 20 // Callers should OR this value into their extended style value when creating |
21 // a window. | 21 // a window. |
22 UI_EXPORT int GetExtendedStyles(); | 22 UI_EXPORT int GetExtendedStyles(); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // Application startup. | 67 // Application startup. |
68 UI_EXPORT void OverrideLocaleWithUILanguageList(); | 68 UI_EXPORT void OverrideLocaleWithUILanguageList(); |
69 | 69 |
70 // Retrieve the locale override, or an empty vector if the locale has not been | 70 // Retrieve the locale override, or an empty vector if the locale has not been |
71 // or failed to be overridden. | 71 // or failed to be overridden. |
72 const std::vector<std::string>& GetLocaleOverrides(); | 72 const std::vector<std::string>& GetLocaleOverrides(); |
73 | 73 |
74 } // namespace l10n_util | 74 } // namespace l10n_util |
75 | 75 |
76 #endif // UI_BASE_L10N_L10N_UTIL_WIN_H_ | 76 #endif // UI_BASE_L10N_L10N_UTIL_WIN_H_ |
OLD | NEW |