| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ibus_controller.h" | 5 #include "chrome/browser/chromeos/input_method/mock_ibus_controller.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chromeos/input_method/input_method_config.h" | 7 #include "chromeos/ime/input_method_config.h" |
| 8 #include "chrome/browser/chromeos/input_method/input_method_property.h" | 8 #include "chromeos/ime/input_method_property.h" |
| 9 | 9 |
| 10 namespace chromeos { | 10 namespace chromeos { |
| 11 namespace input_method { | 11 namespace input_method { |
| 12 | 12 |
| 13 MockIBusController::MockIBusController() | 13 MockIBusController::MockIBusController() |
| 14 : change_input_method_count_(0), | 14 : change_input_method_count_(0), |
| 15 change_input_method_return_(true), | 15 change_input_method_return_(true), |
| 16 activate_input_method_property_count_(0), | 16 activate_input_method_property_count_(0), |
| 17 activate_input_method_property_return_(true), | 17 activate_input_method_property_return_(true), |
| 18 set_input_method_config_internal_count_(0), | 18 set_input_method_config_internal_count_(0), |
| (...skipping 26 matching lines...) Expand all Loading... |
| 45 const ConfigKeyType& key, | 45 const ConfigKeyType& key, |
| 46 const InputMethodConfigValue& value) { | 46 const InputMethodConfigValue& value) { |
| 47 ++set_input_method_config_internal_count_; | 47 ++set_input_method_config_internal_count_; |
| 48 set_input_method_config_internal_key_ = key; | 48 set_input_method_config_internal_key_ = key; |
| 49 set_input_method_config_internal_value_ = value; | 49 set_input_method_config_internal_value_ = value; |
| 50 return set_input_method_config_internal_return_; | 50 return set_input_method_config_internal_return_; |
| 51 } | 51 } |
| 52 | 52 |
| 53 } // namespace input_method | 53 } // namespace input_method |
| 54 } // namespace chromeos | 54 } // namespace chromeos |
| OLD | NEW |