| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |