return NULL;
}
-void MockInputMethodManager::EnableLayouts(const std::string& language_code,
- const std::string& initial_layout) {
+void MockInputMethodManager::EnableLoginLayouts(
+ const std::string& language_code,
+ const std::vector<std::string>& initial_layout) {
}
-bool MockInputMethodManager::EnableInputMethods(
+bool MockInputMethodManager::ReplaceEnabledInputMethods(
const std::vector<std::string>& new_active_input_method_ids) {
return true;
}
std::vector<std::string>* ids) {
}
-void MockInputMethodManager::SetInputMethodDefault() {
+void MockInputMethodManager::SetInputMethodLoginDefault() {
}
bool MockInputMethodManager::SwitchToNextInputMethod() {
if (!current_input_method_id_.empty()) {
return InputMethodDescriptor(current_input_method_id_,
descriptor.name(),
+ descriptor.indicator(),
descriptor.keyboard_layouts(),
descriptor.language_codes(),
true,
delegate_.set_active_locale(value);
}
-void MockInputMethodManager::set_hardware_keyboard_layout(
- const std::string& value) {
- delegate_.set_hardware_keyboard_layout(value);
-}
-
bool MockInputMethodManager::IsLoginKeyboard(
const std::string& layout) const {
return true;