From c1edcb29b49b191116aba51849b643fc3595d7f5 Mon Sep 17 00:00:00 2001 From: "yusukes@google.com" Date: Wed, 30 Jun 2010 03:28:00 +0000 Subject: Add EnableInputMethodsAndKeyboardLayouts function. I'll use the function to implement crosbug.com/2619 (Implement input language selector on the log in page) BUG=none Review URL: http://codereview.chromium.org/2861022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51220 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/options/language_config_model.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/chromeos/options/language_config_model.cc') diff --git a/chrome/browser/chromeos/options/language_config_model.cc b/chrome/browser/chromeos/options/language_config_model.cc index 4b256ba..6955c43 100644 --- a/chrome/browser/chromeos/options/language_config_model.cc +++ b/chrome/browser/chromeos/options/language_config_model.cc @@ -92,7 +92,7 @@ size_t LanguageConfigModel::CountNumActiveInputMethods( int num_selected_active_input_methods = 0; std::vector input_method_ids; input_method::GetInputMethodIdsFromLanguageCode( - language_code, false /* keyboard_layout_only */, &input_method_ids); + language_code, input_method::kKeyboardLayoutsOnly, &input_method_ids); for (size_t i = 0; i < input_method_ids.size(); ++i) { if (InputMethodIsActivated(input_method_ids[i])) { ++num_selected_active_input_methods; @@ -198,7 +198,7 @@ void LanguageConfigModel::GetInputMethodIdsFromLanguageCode( DCHECK(input_method_ids); input_method_ids->clear(); input_method::GetInputMethodIdsFromLanguageCode( - language_code, false /* keyboard_layout_only */, input_method_ids); + language_code, input_method::kAllInputMethods, input_method_ids); // Reorder the input methods. input_method::ReorderInputMethodIdsForLanguageCode( -- cgit v1.1