| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/mock_input_method_manager_impl.h" | 5 #include "chrome/browser/chromeos/input_method/mock_input_method_manager_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 9 #include "ui/base/ime/chromeos/input_method_util.h" |
| 10 | 10 |
| 11 namespace chromeos { | 11 namespace chromeos { |
| 12 namespace input_method { | 12 namespace input_method { |
| 13 | 13 |
| 14 MockInputMethodManagerImpl::State::State(MockInputMethodManagerImpl* manager) | 14 MockInputMethodManagerImpl::State::State(MockInputMethodManagerImpl* manager) |
| 15 : manager_(manager) { | 15 : manager_(manager) { |
| 16 active_input_method_ids.push_back("xkb:us::eng"); | 16 active_input_method_ids.push_back("xkb:us::eng"); |
| 17 } | 17 } |
| 18 | 18 |
| 19 scoped_refptr<InputMethodManager::State> | 19 scoped_refptr<InputMethodManager::State> |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 comp_ime_manager_ = std::move(comp_ime_manager); | 139 comp_ime_manager_ = std::move(comp_ime_manager); |
| 140 } | 140 } |
| 141 | 141 |
| 142 void MockInputMethodManagerImpl::set_application_locale( | 142 void MockInputMethodManagerImpl::set_application_locale( |
| 143 const std::string& value) { | 143 const std::string& value) { |
| 144 delegate_.set_active_locale(value); | 144 delegate_.set_active_locale(value); |
| 145 } | 145 } |
| 146 | 146 |
| 147 } // namespace input_method | 147 } // namespace input_method |
| 148 } // namespace chromeos | 148 } // namespace chromeos |
| OLD | NEW |