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

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_util.cc

Issue 13702003: Add US international keyboard layout for Portuguese Brazilian. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete test update Created 7 years, 8 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
« no previous file with comments | « no previous file | 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) 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 #include "chrome/browser/chromeos/input_method/input_method_util.h" 5 #include "chrome/browser/chromeos/input_method/input_method_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 { "id", "xkb:us::eng" }, // For Indonesian, use US keyboard layout. 293 { "id", "xkb:us::eng" }, // For Indonesian, use US keyboard layout.
294 // The code "fil" comes from l10_util.cc. 294 // The code "fil" comes from l10_util.cc.
295 { "fil", "xkb:us::eng" }, // For Filipino, use US keyboard layout. 295 { "fil", "xkb:us::eng" }, // For Filipino, use US keyboard layout.
296 // For Netherlands, use US international keyboard layout. 296 // For Netherlands, use US international keyboard layout.
297 { "nl", "xkb:us:intl:eng" }, 297 { "nl", "xkb:us:intl:eng" },
298 // The code "es-419" comes from l10_util.cc. 298 // The code "es-419" comes from l10_util.cc.
299 // For Spanish in Latin America, use Latin American keyboard layout. 299 // For Spanish in Latin America, use Latin American keyboard layout.
300 { "es-419", "xkb:latam::spa" }, 300 { "es-419", "xkb:latam::spa" },
301 // For Malay, use US keyboard layout. crosbug.com/p/8288 301 // For Malay, use US keyboard layout. crosbug.com/p/8288
302 { "ms", "xkb:us::eng" }, 302 { "ms", "xkb:us::eng" },
303 // For Brazil, it is common to use US-international keyboard layout.
304 { "pt-BR", "xkb:us:intl:eng" },
303 305
304 // TODO(yusukes): Add {"sw", "xkb:us::eng"} once Swahili is removed from the 306 // TODO(yusukes): Add {"sw", "xkb:us::eng"} once Swahili is removed from the
305 // blacklist in src/ui/base/l10n/l10n_util_posix.cc. 307 // blacklist in src/ui/base/l10n/l10n_util_posix.cc.
306 }; 308 };
307 const size_t kExtraLanguagesLength = arraysize(kExtraLanguages); 309 const size_t kExtraLanguagesLength = arraysize(kExtraLanguages);
308 310
309 } // namespace 311 } // namespace
310 312
311 InputMethodUtil::InputMethodUtil( 313 InputMethodUtil::InputMethodUtil(
312 InputMethodDelegate* delegate, 314 InputMethodDelegate* delegate,
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 } 729 }
728 } 730 }
729 } 731 }
730 732
731 void InputMethodUtil::OnLocaleChanged() { 733 void InputMethodUtil::OnLocaleChanged() {
732 ReloadInternalMaps(); 734 ReloadInternalMaps();
733 } 735 }
734 736
735 } // namespace input_method 737 } // namespace input_method
736 } // namespace chromeos 738 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698