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

Side by Side Diff: ui/base/l10n/l10n_util.h

Issue 16402012: Use a direct include of strings headers in ui/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « ui/base/l10n/l10n_font_util.cc ('k') | ui/base/l10n/l10n_util.cc » ('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) 2012 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 // 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 UI_BASE_L10N_L10N_UTIL_H_ 8 #ifndef UI_BASE_L10N_L10N_UTIL_H_
9 #define UI_BASE_L10N_L10N_UTIL_H_ 9 #define UI_BASE_L10N_L10N_UTIL_H_
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/string16.h" 14 #include "base/strings/string16.h"
15 #include "base/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "ui/base/ui_export.h" 16 #include "ui/base/ui_export.h"
17 17
18 #if defined(OS_MACOSX) 18 #if defined(OS_MACOSX)
19 #include "ui/base/l10n/l10n_util_mac.h" 19 #include "ui/base/l10n/l10n_util_mac.h"
20 #endif // OS_MACOSX 20 #endif // OS_MACOSX
21 21
22 namespace l10n_util { 22 namespace l10n_util {
23 23
24 // This method is responsible for determining the locale as defined below. In 24 // This method is responsible for determining the locale as defined below. In
25 // nearly all cases you shouldn't call this, rather use GetApplicationLocale 25 // nearly all cases you shouldn't call this, rather use GetApplicationLocale
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 const std::string& display_locale, 147 const std::string& display_locale,
148 std::vector<std::string>* locale_codes); 148 std::vector<std::string>* locale_codes);
149 149
150 // Returns the preferred size of the contents view of a window based on 150 // Returns the preferred size of the contents view of a window based on
151 // designer given constraints which might dependent on the language used. 151 // designer given constraints which might dependent on the language used.
152 UI_EXPORT int GetLocalizedContentsWidthInPixels(int pixel_resource_id); 152 UI_EXPORT int GetLocalizedContentsWidthInPixels(int pixel_resource_id);
153 153
154 } // namespace l10n_util 154 } // namespace l10n_util
155 155
156 #endif // UI_BASE_L10N_L10N_UTIL_H_ 156 #endif // UI_BASE_L10N_L10N_UTIL_H_
OLDNEW
« no previous file with comments | « ui/base/l10n/l10n_font_util.cc ('k') | ui/base/l10n/l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698