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

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

Issue 20843010: Revive Chewing IME for traditional Chinese Input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments 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 {
51 // Google Chinese Input (pinyin) 46 // Google Chinese Input (pinyin)
52 "nmblnjkfdkabgdofidlkienfnnbjhnab", 47 "nmblnjkfdkabgdofidlkienfnnbjhnab",
53 "/usr/share/chromeos-assets/input_methods/pinyin", 48 "/usr/share/chromeos-assets/input_methods/pinyin",
54 }, 49 },
55 { 50 {
56 // Google Chinese Input (cangjie) 51 // Google Chinese Input (cangjie)
57 "gjhclobljhjhgoebiipblnmdodbmpdgd", 52 "gjhclobljhjhgoebiipblnmdodbmpdgd",
58 "/usr/share/chromeos-assets/input_methods/cangjie", 53 "/usr/share/chromeos-assets/input_methods/cangjie",
59 }, 54 },
60 { 55 {
61 // Google Chinese Input (wubi) 56 // Google Chinese Input (wubi)
62 "jcffnbbngddhenhcnebafkbdomehdhpd", 57 "jcffnbbngddhenhcnebafkbdomehdhpd",
63 "/usr/share/chromeos-assets/input_methods/wubi", 58 "/usr/share/chromeos-assets/input_methods/wubi",
64 }, 59 },
65 { 60 {
66 // Google input tools. 61 // Google input tools.
67 "gjaehgfemfahhmlgpdfknkhdnemmolop", 62 "gjaehgfemfahhmlgpdfknkhdnemmolop",
68 "/usr/share/chromeos-assets/input_methods/input_tools", 63 "/usr/share/chromeos-assets/input_methods/input_tools",
69 }, 64 },
70 #else 65 #else
71 { 66 {
72 // Open-sourced Pinyin Chinese Input Method. 67 // Open-sourced Pinyin Chinese Input Method.
73 "cpgalbafkoofkjmaeonnfijgpfennjjn", 68 "cpgalbafkoofkjmaeonnfijgpfennjjn",
74 "/usr/share/chromeos-assets/input_methods/pinyin", 69 "/usr/share/chromeos-assets/input_methods/pinyin",
75 }, 70 },
76 { 71 {
77 // Open-sourced Zhuyin Chinese Input Method.
78 "ekbifjdfhkmdeeajnolmgdlmkllopefi",
79 "/usr/share/chromeos-assets/input_methods/zhuyin",
80 },
81 {
82 // Open-sourced Cangjie Chinese Input Method. 72 // Open-sourced Cangjie Chinese Input Method.
83 "aeebooiibjahgpgmhkeocbeekccfknbj", 73 "aeebooiibjahgpgmhkeocbeekccfknbj",
84 "/usr/share/chromeos-assets/input_methods/cangjie", 74 "/usr/share/chromeos-assets/input_methods/cangjie",
85 }, 75 },
86 { 76 {
87 // Open-sourced Mozc Japanese Input. 77 // Open-sourced Mozc Japanese Input.
88 "bbaiamgfapehflhememkfglaehiobjnk", 78 "bbaiamgfapehflhememkfglaehiobjnk",
89 "/usr/share/chromeos-assets/input_methods/nacl_mozc", 79 "/usr/share/chromeos-assets/input_methods/nacl_mozc",
90 }, 80 },
91 #endif 81 #endif
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 std::vector<ComponentExtensionIME>* result, 287 std::vector<ComponentExtensionIME>* result,
298 const base::Closure& callback) { 288 const base::Closure& callback) {
299 DCHECK(thread_checker_.CalledOnValidThread()); 289 DCHECK(thread_checker_.CalledOnValidThread());
300 DCHECK(result); 290 DCHECK(result);
301 component_extension_list_ = *result; 291 component_extension_list_ = *result;
302 is_initialized_ = true; 292 is_initialized_ = true;
303 callback.Run(); 293 callback.Run();
304 } 294 }
305 295
306 } // namespace chromeos 296 } // 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