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

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

Issue 727143002: Moves code from chromeos/ime to ui/base/ime/chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit. Created 6 years 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
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 "chromeos/ime/input_method_whitelist.h" 5 #include "ui/base/ime/chromeos/input_method_whitelist.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "chromeos/ime/extension_ime_util.h"
11 #include "chromeos/ime/input_method_descriptor.h"
12 #include "chromeos/ime/input_methods.h" 10 #include "chromeos/ime/input_methods.h"
11 #include "ui/base/ime/chromeos/extension_ime_util.h"
12 #include "ui/base/ime/chromeos/input_method_descriptor.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 namespace input_method { 15 namespace input_method {
16 16
17 const char kLanguageDelimiter[] = ","; 17 const char kLanguageDelimiter[] = ",";
18 18
19 InputMethodWhitelist::InputMethodWhitelist() { 19 InputMethodWhitelist::InputMethodWhitelist() {
20 for (size_t i = 0; i < arraysize(kInputMethods); ++i) { 20 for (size_t i = 0; i < arraysize(kInputMethods); ++i) {
21 supported_input_methods_.insert(kInputMethods[i].input_method_id); 21 supported_input_methods_.insert(kInputMethods[i].input_method_id);
22 } 22 }
(...skipping 29 matching lines...) Expand all
52 kInputMethods[i].is_login_keyboard, 52 kInputMethods[i].is_login_keyboard,
53 GURL(), // options page url. 53 GURL(), // options page url.
54 GURL() // input view page url. 54 GURL() // input view page url.
55 )); 55 ));
56 } 56 }
57 return input_methods.Pass(); 57 return input_methods.Pass();
58 } 58 }
59 59
60 } // namespace input_method 60 } // namespace input_method
61 } // namespace chromeos 61 } // namespace chromeos
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/input_method_whitelist.h ('k') | ui/base/ime/chromeos/mock_component_extension_ime_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698