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

Side by Side Diff: chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.cc

Issue 22611007: Revert "Revive Chewing IME for traditional Chinese Input." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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 | « no previous file | chrome/browser/chromeos/input_method/input_method_manager_impl.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 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 "chrome/browser/chromeos/input_method/component_extension_ime_manager_i mpl.h" 5 #include "chrome/browser/chromeos/input_method/component_extension_ime_manager_i mpl.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chrome/browser/extensions/component_loader.h" 9 #include "chrome/browser/extensions/component_loader.h"
10 #include "chrome/browser/extensions/extension_service.h" 10 #include "chrome/browser/extensions/extension_service.h"
(...skipping 25 matching lines...) Expand all
36 "bdgdidmhaijohebebipajioienkglgfo", 36 "bdgdidmhaijohebebipajioienkglgfo",
37 "/usr/share/chromeos-assets/input_methods/hangul", 37 "/usr/share/chromeos-assets/input_methods/hangul",
38 }, 38 },
39 #if defined(OFFICIAL_BUILD) 39 #if defined(OFFICIAL_BUILD)
40 { 40 {
41 // Official Google Japanese Input. 41 // Official Google Japanese Input.
42 "fpfbhcjppmaeaijcidgiibchfbnhbelj", 42 "fpfbhcjppmaeaijcidgiibchfbnhbelj",
43 "/usr/share/chromeos-assets/input_methods/nacl_mozc", 43 "/usr/share/chromeos-assets/input_methods/nacl_mozc",
44 }, 44 },
45 { 45 {
46 // Google Chinese Input (zhuyin)
47 "goedamlknlnjaengojinmfgpmdjmkooo",
48 "/usr/share/chromeos-assets/input_methods/zhuyin",
49 },
50 {
46 // Google Chinese Input (pinyin) 51 // Google Chinese Input (pinyin)
47 "nmblnjkfdkabgdofidlkienfnnbjhnab", 52 "nmblnjkfdkabgdofidlkienfnnbjhnab",
48 "/usr/share/chromeos-assets/input_methods/pinyin", 53 "/usr/share/chromeos-assets/input_methods/pinyin",
49 }, 54 },
50 { 55 {
51 // Google Chinese Input (cangjie) 56 // Google Chinese Input (cangjie)
52 "gjhclobljhjhgoebiipblnmdodbmpdgd", 57 "gjhclobljhjhgoebiipblnmdodbmpdgd",
53 "/usr/share/chromeos-assets/input_methods/cangjie", 58 "/usr/share/chromeos-assets/input_methods/cangjie",
54 }, 59 },
55 { 60 {
56 // Google Chinese Input (wubi) 61 // Google Chinese Input (wubi)
57 "jcffnbbngddhenhcnebafkbdomehdhpd", 62 "jcffnbbngddhenhcnebafkbdomehdhpd",
58 "/usr/share/chromeos-assets/input_methods/wubi", 63 "/usr/share/chromeos-assets/input_methods/wubi",
59 }, 64 },
60 { 65 {
61 // Google input tools. 66 // Google input tools.
62 "gjaehgfemfahhmlgpdfknkhdnemmolop", 67 "gjaehgfemfahhmlgpdfknkhdnemmolop",
63 "/usr/share/chromeos-assets/input_methods/input_tools", 68 "/usr/share/chromeos-assets/input_methods/input_tools",
64 }, 69 },
65 #else 70 #else
66 { 71 {
67 // Open-sourced Pinyin Chinese Input Method. 72 // Open-sourced Pinyin Chinese Input Method.
68 "cpgalbafkoofkjmaeonnfijgpfennjjn", 73 "cpgalbafkoofkjmaeonnfijgpfennjjn",
69 "/usr/share/chromeos-assets/input_methods/pinyin", 74 "/usr/share/chromeos-assets/input_methods/pinyin",
70 }, 75 },
71 { 76 {
77 // Open-sourced Zhuyin Chinese Input Method.
78 "ekbifjdfhkmdeeajnolmgdlmkllopefi",
79 "/usr/share/chromeos-assets/input_methods/zhuyin",
80 },
81 {
72 // Open-sourced Cangjie Chinese Input Method. 82 // Open-sourced Cangjie Chinese Input Method.
73 "aeebooiibjahgpgmhkeocbeekccfknbj", 83 "aeebooiibjahgpgmhkeocbeekccfknbj",
74 "/usr/share/chromeos-assets/input_methods/cangjie", 84 "/usr/share/chromeos-assets/input_methods/cangjie",
75 }, 85 },
76 { 86 {
77 // Open-sourced Mozc Japanese Input. 87 // Open-sourced Mozc Japanese Input.
78 "bbaiamgfapehflhememkfglaehiobjnk", 88 "bbaiamgfapehflhememkfglaehiobjnk",
79 "/usr/share/chromeos-assets/input_methods/nacl_mozc", 89 "/usr/share/chromeos-assets/input_methods/nacl_mozc",
80 }, 90 },
81 #endif 91 #endif
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 std::vector<ComponentExtensionIME>* result, 297 std::vector<ComponentExtensionIME>* result,
288 const base::Closure& callback) { 298 const base::Closure& callback) {
289 DCHECK(thread_checker_.CalledOnValidThread()); 299 DCHECK(thread_checker_.CalledOnValidThread());
290 DCHECK(result); 300 DCHECK(result);
291 component_extension_list_ = *result; 301 component_extension_list_ = *result;
292 is_initialized_ = true; 302 is_initialized_ = true;
293 callback.Run(); 303 callback.Run();
294 } 304 }
295 305
296 } // namespace chromeos 306 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698