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

Side by Side Diff: ui/base/l10n/l10n_util_win.cc

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_util_win.h ('k') | no next file » | 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 #include "ui/base/l10n/l10n_util_win.h" 5 #include "ui/base/l10n/l10n_util_win.h"
6 6
7 #include <windowsx.h> 7 #include <windowsx.h>
8 #include <algorithm> 8 #include <algorithm>
9 #include <iterator> 9 #include <iterator>
10 10
11 #include "base/i18n/rtl.h" 11 #include "base/i18n/rtl.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/win/i18n.h" 14 #include "base/win/i18n.h"
15 #include "base/win/windows_version.h" 15 #include "base/win/windows_version.h"
16 #include "grit/app_locale_settings.h" 16 #include "grit/app_locale_settings.h"
17 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
18 #include "ui/base/win/dpi.h" 18 #include "ui/base/win/dpi.h"
19 19
20 namespace { 20 namespace {
21 21
22 void AdjustLogFont(const string16& font_family, 22 void AdjustLogFont(const string16& font_family,
23 double font_size_scaler, 23 double font_size_scaler,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 } else { 194 } else {
195 NOTREACHED() << "Failed to determine the UI language for locale override."; 195 NOTREACHED() << "Failed to determine the UI language for locale override.";
196 } 196 }
197 } 197 }
198 198
199 const std::vector<std::string>& GetLocaleOverrides() { 199 const std::vector<std::string>& GetLocaleOverrides() {
200 return override_locale_holder.Get().value(); 200 return override_locale_holder.Get().value();
201 } 201 }
202 202
203 } // namespace l10n_util 203 } // namespace l10n_util
OLDNEW
« no previous file with comments | « ui/base/l10n/l10n_util_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698