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

Side by Side Diff: chromeos/ime/input_method_whitelist.cc

Issue 13042007: Extract input_method_whitelist.{h|cc} from c/b/chromeos. (2nd try) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: replicate input_methods.txt for migration 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 | « chromeos/ime/input_method_whitelist.h ('k') | chromeos/ime/input_method_whitelist_unittest.cc » ('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 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 "chrome/browser/chromeos/input_method/input_method_whitelist.h" 5 #include "chromeos/ime/input_method_whitelist.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "chrome/browser/chromeos/input_method/input_methods.h"
10 #include "chromeos/ime/input_method_descriptor.h" 9 #include "chromeos/ime/input_method_descriptor.h"
10 #include "chromeos/ime/input_methods.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 namespace input_method { 13 namespace input_method {
14 14
15 InputMethodWhitelist::InputMethodWhitelist() { 15 InputMethodWhitelist::InputMethodWhitelist() {
16 for (size_t i = 0; i < arraysize(kInputMethods); ++i) { 16 for (size_t i = 0; i < arraysize(kInputMethods); ++i) {
17 supported_input_methods_.insert(kInputMethods[i].input_method_id); 17 supported_input_methods_.insert(kInputMethods[i].input_method_id);
18 } 18 }
19 } 19 }
20 20
(...skipping 15 matching lines...) Expand all
36 "", 36 "",
37 kInputMethods[i].xkb_layout_id, 37 kInputMethods[i].xkb_layout_id,
38 kInputMethods[i].language_code, 38 kInputMethods[i].language_code,
39 false)); 39 false));
40 } 40 }
41 return input_methods.Pass(); 41 return input_methods.Pass();
42 } 42 }
43 43
44 } // namespace input_method 44 } // namespace input_method
45 } // namespace chromeos 45 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/ime/input_method_whitelist.h ('k') | chromeos/ime/input_method_whitelist_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698