| 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 "ui/base/ime/chromeos/component_extension_ime_manager.h" | 5 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
| 10 #include "chromeos/chromeos_switches.h" | 10 #include "chromeos/chromeos_switches.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 "cz(qwerty)", | 27 "cz(qwerty)", |
| 28 "de", | 28 "de", |
| 29 "de(neo)", | 29 "de(neo)", |
| 30 "dk", | 30 "dk", |
| 31 "ee", | 31 "ee", |
| 32 "es", | 32 "es", |
| 33 "es(cat)", | 33 "es(cat)", |
| 34 "fi", | 34 "fi", |
| 35 "fr", | 35 "fr", |
| 36 "fr(bepo)", | 36 "fr(bepo)", |
| 37 "fr(oss)", |
| 37 "gb(dvorak)", | 38 "gb(dvorak)", |
| 38 "gb(extd)", | 39 "gb(extd)", |
| 39 "hr", | 40 "hr", |
| 40 "hu", | 41 "hu", |
| 41 "ie", | 42 "ie", |
| 42 "is", | 43 "is", |
| 43 "it", | 44 "it", |
| 44 "jp", | 45 "jp", |
| 45 "latam", | 46 "latam", |
| 46 "lt", | 47 "lt", |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 bool ComponentExtensionIMEManager::IsInLoginLayoutWhitelist( | 235 bool ComponentExtensionIMEManager::IsInLoginLayoutWhitelist( |
| 235 const std::vector<std::string>& layouts) { | 236 const std::vector<std::string>& layouts) { |
| 236 for (size_t i = 0; i < layouts.size(); ++i) { | 237 for (size_t i = 0; i < layouts.size(); ++i) { |
| 237 if (login_layout_set_.find(layouts[i]) != login_layout_set_.end()) | 238 if (login_layout_set_.find(layouts[i]) != login_layout_set_.end()) |
| 238 return true; | 239 return true; |
| 239 } | 240 } |
| 240 return false; | 241 return false; |
| 241 } | 242 } |
| 242 | 243 |
| 243 } // namespace chromeos | 244 } // namespace chromeos |
| OLD | NEW |