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

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

Issue 13638032: Support Icelandic Keyboard layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « chrome/app/chromeos_strings.grdp ('k') | chromeos/ime/input_methods.txt » ('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 #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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 { "xkb:fr::fra", IDS_STATUSBAR_LAYOUT_FRANCE }, 245 { "xkb:fr::fra", IDS_STATUSBAR_LAYOUT_FRANCE },
246 { "xkb:no::nob", IDS_STATUSBAR_LAYOUT_NORWAY }, 246 { "xkb:no::nob", IDS_STATUSBAR_LAYOUT_NORWAY },
247 { "xkb:se::swe", IDS_STATUSBAR_LAYOUT_SWEDEN }, 247 { "xkb:se::swe", IDS_STATUSBAR_LAYOUT_SWEDEN },
248 { "xkb:nl::nld", IDS_STATUSBAR_LAYOUT_NETHERLANDS }, 248 { "xkb:nl::nld", IDS_STATUSBAR_LAYOUT_NETHERLANDS },
249 { "xkb:latam::spa", IDS_STATUSBAR_LAYOUT_LATIN_AMERICAN }, 249 { "xkb:latam::spa", IDS_STATUSBAR_LAYOUT_LATIN_AMERICAN },
250 { "xkb:lv:apostrophe:lav", IDS_STATUSBAR_LAYOUT_LATVIA }, 250 { "xkb:lv:apostrophe:lav", IDS_STATUSBAR_LAYOUT_LATVIA },
251 { "xkb:ca::fra", IDS_STATUSBAR_LAYOUT_CANADA }, 251 { "xkb:ca::fra", IDS_STATUSBAR_LAYOUT_CANADA },
252 { "xkb:ca:eng:eng", IDS_STATUSBAR_LAYOUT_CANADA_ENGLISH }, 252 { "xkb:ca:eng:eng", IDS_STATUSBAR_LAYOUT_CANADA_ENGLISH },
253 { "xkb:il::heb", IDS_STATUSBAR_LAYOUT_ISRAEL }, 253 { "xkb:il::heb", IDS_STATUSBAR_LAYOUT_ISRAEL },
254 { "xkb:kr:kr104:kor", IDS_STATUSBAR_LAYOUT_KOREA_104 }, 254 { "xkb:kr:kr104:kor", IDS_STATUSBAR_LAYOUT_KOREA_104 },
255 { "xkb:is::ice", IDS_STATUSBAR_LAYOUT_ICELANDIC },
255 256
256 { "english-m", IDS_STATUSBAR_LAYOUT_USA_MYSTERY }, 257 { "english-m", IDS_STATUSBAR_LAYOUT_USA_MYSTERY },
257 }; 258 };
258 const size_t kEnglishToResourceIdArraySize = 259 const size_t kEnglishToResourceIdArraySize =
259 arraysize(kEnglishToResourceIdArray); 260 arraysize(kEnglishToResourceIdArray);
260 261
261 // The comparator is used for sorting language codes by their 262 // The comparator is used for sorting language codes by their
262 // corresponding language names, using the ICU collator. 263 // corresponding language names, using the ICU collator.
263 struct CompareLanguageCodesByLanguageName 264 struct CompareLanguageCodesByLanguageName
264 : std::binary_function<const std::string&, const std::string&, bool> { 265 : std::binary_function<const std::string&, const std::string&, bool> {
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 } 727 }
727 } 728 }
728 } 729 }
729 730
730 void InputMethodUtil::OnLocaleChanged() { 731 void InputMethodUtil::OnLocaleChanged() {
731 ReloadInternalMaps(); 732 ReloadInternalMaps();
732 } 733 }
733 734
734 } // namespace input_method 735 } // namespace input_method
735 } // namespace chromeos 736 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chromeos/ime/input_methods.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698