| 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_input_method_manager.h" | 5 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" |
| 6 | 6 |
| 7 namespace chromeos { | 7 namespace chromeos { |
| 8 namespace input_method { | 8 namespace input_method { |
| 9 | 9 |
| 10 MockInputMethodManager::MockInputMethodManager() | 10 MockInputMethodManager::MockInputMethodManager() |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 } | 81 } |
| 82 | 82 |
| 83 void MockInputMethodManager::ActivateInputMethodProperty( | 83 void MockInputMethodManager::ActivateInputMethodProperty( |
| 84 const std::string& key) { | 84 const std::string& key) { |
| 85 } | 85 } |
| 86 | 86 |
| 87 void MockInputMethodManager::AddInputMethodExtension( | 87 void MockInputMethodManager::AddInputMethodExtension( |
| 88 const std::string& id, | 88 const std::string& id, |
| 89 const std::string& name, | 89 const std::string& name, |
| 90 const std::vector<std::string>& layouts, | 90 const std::vector<std::string>& layouts, |
| 91 const std::string& language) { | 91 const std::string& language, |
| 92 InputMethodEngine* instance) { |
| 92 } | 93 } |
| 93 | 94 |
| 94 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) { | 95 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) { |
| 95 } | 96 } |
| 96 | 97 |
| 97 bool MockInputMethodManager::SwitchToNextInputMethod() { | 98 bool MockInputMethodManager::SwitchToNextInputMethod() { |
| 98 return true; | 99 return true; |
| 99 } | 100 } |
| 100 | 101 |
| 101 bool MockInputMethodManager::SwitchToPreviousInputMethod() { | 102 bool MockInputMethodManager::SwitchToPreviousInputMethod() { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 128 XKeyboard* MockInputMethodManager::GetXKeyboard() { | 129 XKeyboard* MockInputMethodManager::GetXKeyboard() { |
| 129 return &xkeyboard_; | 130 return &xkeyboard_; |
| 130 } | 131 } |
| 131 | 132 |
| 132 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() { | 133 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() { |
| 133 return &util_; | 134 return &util_; |
| 134 } | 135 } |
| 135 | 136 |
| 136 } // namespace input_method | 137 } // namespace input_method |
| 137 } // namespace chromeos | 138 } // namespace chromeos |
| OLD | NEW |