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

Unified Diff: chromeos/ime/input_method_whitelist.cc

Issue 306053005: Adds whitelisted non-extension-based input methods if no component extensions are at present (e.g. … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_util_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/input_method_whitelist.cc
diff --git a/chromeos/ime/input_method_whitelist.cc b/chromeos/ime/input_method_whitelist.cc
index 57704e54b3bd84c672c976a7984a7d00c6753879..c09b8081d55371821f81bc80264d7cd58936a226 100644
--- a/chromeos/ime/input_method_whitelist.cc
+++ b/chromeos/ime/input_method_whitelist.cc
@@ -7,6 +7,7 @@
#include <vector>
#include "base/strings/string_util.h"
+#include "chromeos/ime/extension_ime_util.h"
#include "chromeos/ime/input_method_descriptor.h"
#include "chromeos/ime/input_methods.h"
@@ -42,7 +43,8 @@ InputMethodWhitelist::GetSupportedInputMethods() const {
DCHECK(!languages.empty());
input_methods->push_back(InputMethodDescriptor(
- kInputMethods[i].input_method_id,
+ extension_ime_util::GetInputMethodIDByEngineID(
+ kInputMethods[i].input_method_id),
"",
kInputMethods[i].indicator,
layouts,
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698