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

Side by Side Diff: app/l10n_util.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 | « app/gfx/font_win.cc ('k') | app/resource_bundle.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) 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 #include "app/l10n_util.h" 5 #include "app/l10n_util.h"
6 6
7 #include <cstdlib> 7 #include <cstdlib>
8 8
9 #include "app/app_paths.h" 9 #include "app/app_paths.h"
10 #include "app/app_switches.h" 10 #include "app/app_switches.h"
11 #include "app/gfx/canvas.h"
12 #include "app/l10n_util_collator.h" 11 #include "app/l10n_util_collator.h"
13 #include "app/resource_bundle.h" 12 #include "app/resource_bundle.h"
14 #include "base/command_line.h" 13 #include "base/command_line.h"
15 #include "base/file_util.h" 14 #include "base/file_util.h"
16 #include "base/i18n/file_util_icu.h" 15 #include "base/i18n/file_util_icu.h"
17 #include "base/i18n/rtl.h" 16 #include "base/i18n/rtl.h"
18 #include "base/path_service.h" 17 #include "base/path_service.h"
19 #include "base/scoped_ptr.h" 18 #include "base/scoped_ptr.h"
20 #include "base/string16.h" 19 #include "base/string16.h"
21 #include "base/string_piece.h" 20 #include "base/string_piece.h"
22 #include "base/string_util.h" 21 #include "base/string_util.h"
23 #include "base/sys_string_conversions.h" 22 #include "base/sys_string_conversions.h"
24 #include "build/build_config.h" 23 #include "build/build_config.h"
24 #include "gfx/canvas.h"
25 #include "unicode/rbbi.h" 25 #include "unicode/rbbi.h"
26 26
27 #if defined(OS_MACOSX) 27 #if defined(OS_MACOSX)
28 #include "app/l10n_util_mac.h" 28 #include "app/l10n_util_mac.h"
29 #endif 29 #endif
30 30
31 // TODO(playmobil): remove this undef once SkPostConfig.h is fixed. 31 // TODO(playmobil): remove this undef once SkPostConfig.h is fixed.
32 // skia/include/corecg/SkPostConfig.h #defines strcasecmp() so we can't use 32 // skia/include/corecg/SkPostConfig.h #defines strcasecmp() so we can't use
33 // base::strcasecmp() without #undefing it here. 33 // base::strcasecmp() without #undefing it here.
34 #undef strcasecmp 34 #undef strcasecmp
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 for (size_t i = 0; i < arraysize(kAcceptLanguageList); ++i) { 828 for (size_t i = 0; i < arraysize(kAcceptLanguageList); ++i) {
829 if (!IsLocaleNameTranslated(kAcceptLanguageList[i], display_locale)) 829 if (!IsLocaleNameTranslated(kAcceptLanguageList[i], display_locale))
830 // TODO(jungshik) : Put them at the of the list with language codes 830 // TODO(jungshik) : Put them at the of the list with language codes
831 // enclosed by brackets instead of skipping. 831 // enclosed by brackets instead of skipping.
832 continue; 832 continue;
833 locale_codes->push_back(kAcceptLanguageList[i]); 833 locale_codes->push_back(kAcceptLanguageList[i]);
834 } 834 }
835 } 835 }
836 836
837 } // namespace l10n_util 837 } // namespace l10n_util
OLDNEW
« no previous file with comments | « app/gfx/font_win.cc ('k') | app/resource_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698