OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chromeos/ime/component_extension_ime_manager.h" | 5 #include "chromeos/ime/component_extension_ime_manager.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "chromeos/ime/extension_ime_util.h" | 9 #include "chromeos/ime/extension_ime_util.h" |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... | |
28 "dk", | 28 "dk", |
29 "ee", | 29 "ee", |
30 "es", | 30 "es", |
31 "es(cat)", | 31 "es(cat)", |
32 "fi", | 32 "fi", |
33 "fr", | 33 "fr", |
34 "gb(dvorak)", | 34 "gb(dvorak)", |
35 "gb(extd)", | 35 "gb(extd)", |
36 "hr", | 36 "hr", |
37 "hu", | 37 "hu", |
38 "ie", | |
Hiro Komatsu
2014/10/20 13:33:32
Please double check if this is an intentional chan
Shu Chen
2014/10/20 15:01:10
It is intentional to make Irish keyboard as login'
| |
38 "is", | 39 "is", |
39 "it", | 40 "it", |
40 "jp", | 41 "jp", |
41 "latam", | 42 "latam", |
42 "lt", | 43 "lt", |
43 "lv(apostrophe)", | 44 "lv(apostrophe)", |
45 "mt", | |
44 "no", | 46 "no", |
45 "pl", | 47 "pl", |
46 "pt", | 48 "pt", |
47 "ro", | 49 "ro", |
48 "se", | 50 "se", |
49 "si", | 51 "si", |
50 "tr", | 52 "tr", |
51 "us", | 53 "us", |
52 "us(altgr-intl)", | 54 "us(altgr-intl)", |
53 "us(colemak)", | 55 "us(colemak)", |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
200 bool ComponentExtensionIMEManager::IsInLoginLayoutWhitelist( | 202 bool ComponentExtensionIMEManager::IsInLoginLayoutWhitelist( |
201 const std::vector<std::string>& layouts) { | 203 const std::vector<std::string>& layouts) { |
202 for (size_t i = 0; i < layouts.size(); ++i) { | 204 for (size_t i = 0; i < layouts.size(); ++i) { |
203 if (login_layout_set_.find(layouts[i]) != login_layout_set_.end()) | 205 if (login_layout_set_.find(layouts[i]) != login_layout_set_.end()) |
204 return true; | 206 return true; |
205 } | 207 } |
206 return false; | 208 return false; |
207 } | 209 } |
208 | 210 |
209 } // namespace chromeos | 211 } // namespace chromeos |
OLD | NEW |