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

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

Issue 312453002: Migrates Japanese IME IDs and stop migrating Chinese IME IDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased. Created 6 years, 6 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.h » ('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 "base/path_service.h" 9 #include "base/path_service.h"
10 #include "chrome/browser/extensions/component_loader.h" 10 #include "chrome/browser/extensions/component_loader.h"
(...skipping 29 matching lines...) Expand all
40 // Official Google XKB Input. 40 // Official Google XKB Input.
41 "jkghodnilhceideoidjikpgommlajknk", 41 "jkghodnilhceideoidjikpgommlajknk",
42 "/usr/share/chromeos-assets/input_methods/google_xkb", 42 "/usr/share/chromeos-assets/input_methods/google_xkb",
43 }, 43 },
44 { 44 {
45 // Official Google Keyboards Input. 45 // Official Google Keyboards Input.
46 "habcdindjejkmepknlhkkloncjcpcnbf", 46 "habcdindjejkmepknlhkkloncjcpcnbf",
47 "/usr/share/chromeos-assets/input_methods/google_keyboards", 47 "/usr/share/chromeos-assets/input_methods/google_keyboards",
48 }, 48 },
49 { 49 {
50 // Official Google Japanese Input.
51 "fpfbhcjppmaeaijcidgiibchfbnhbelj",
52 "/usr/share/chromeos-assets/input_methods/nacl_mozc",
53 },
54 {
55 // Google input tools. 50 // Google input tools.
56 "gjaehgfemfahhmlgpdfknkhdnemmolop", 51 "gjaehgfemfahhmlgpdfknkhdnemmolop",
57 "/usr/share/chromeos-assets/input_methods/input_tools", 52 "/usr/share/chromeos-assets/input_methods/input_tools",
58 }, 53 },
59 #else 54 #else
60 { 55 {
61 // Open-sourced ChromeOS xkb extension. 56 // Open-sourced ChromeOS xkb extension.
62 "fgoepimhcoialccpbmpnnblemnepkkao", 57 "fgoepimhcoialccpbmpnnblemnepkkao",
63 "/usr/share/chromeos-assets/input_methods/xkb", 58 "/usr/share/chromeos-assets/input_methods/xkb",
64 }, 59 },
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 std::vector<ComponentExtensionIME>* result, 337 std::vector<ComponentExtensionIME>* result,
343 const base::Closure& callback) { 338 const base::Closure& callback) {
344 DCHECK(thread_checker_.CalledOnValidThread()); 339 DCHECK(thread_checker_.CalledOnValidThread());
345 DCHECK(result); 340 DCHECK(result);
346 component_extension_list_ = *result; 341 component_extension_list_ = *result;
347 is_initialized_ = true; 342 is_initialized_ = true;
348 callback.Run(); 343 callback.Run();
349 } 344 }
350 345
351 } // namespace chromeos 346 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698