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

Side by Side Diff: ui/base/ime/chromeos/component_extension_ime_manager.cc

Issue 1455483002: Makes the default French keyboard as fr(oss) XKB layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased. Created 5 years, 1 month 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/browser/resources/chromeos/input_method/google_xkb_manifest.json ('k') | 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 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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/input_method/google_xkb_manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698