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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 } | 146 } |
147 | 147 |
148 bool MockInputMethodManager::IsISOLevel5ShiftUsedByCurrentInputMethod() const { | 148 bool MockInputMethodManager::IsISOLevel5ShiftUsedByCurrentInputMethod() const { |
149 return mod3_used_; | 149 return mod3_used_; |
150 } | 150 } |
151 | 151 |
152 bool MockInputMethodManager::IsAltGrUsedByCurrentInputMethod() const { | 152 bool MockInputMethodManager::IsAltGrUsedByCurrentInputMethod() const { |
153 return false; | 153 return false; |
154 } | 154 } |
155 | 155 |
156 XKeyboard* MockInputMethodManager::GetXKeyboard() { | 156 ImeKeyboard* MockInputMethodManager::GetImeKeyboard() { return &keyboard_; } |
157 return &xkeyboard_; | |
158 } | |
159 | 157 |
160 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() { | 158 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() { |
161 return &util_; | 159 return &util_; |
162 } | 160 } |
163 | 161 |
164 ComponentExtensionIMEManager* | 162 ComponentExtensionIMEManager* |
165 MockInputMethodManager::GetComponentExtensionIMEManager() { | 163 MockInputMethodManager::GetComponentExtensionIMEManager() { |
166 return comp_ime_manager_.get(); | 164 return comp_ime_manager_.get(); |
167 } | 165 } |
168 | 166 |
(...skipping 11 matching lines...) Expand all Loading... |
180 return true; | 178 return true; |
181 } | 179 } |
182 | 180 |
183 bool MockInputMethodManager::MigrateXkbInputMethods( | 181 bool MockInputMethodManager::MigrateXkbInputMethods( |
184 std::vector<std::string>* input_method_ids) { | 182 std::vector<std::string>* input_method_ids) { |
185 return false; | 183 return false; |
186 } | 184 } |
187 | 185 |
188 } // namespace input_method | 186 } // namespace input_method |
189 } // namespace chromeos | 187 } // namespace chromeos |
OLD | NEW |