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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 void MockInputMethodManager::ChangeInputMethod( | 77 void MockInputMethodManager::ChangeInputMethod( |
78 const std::string& input_method_id) { | 78 const std::string& input_method_id) { |
79 } | 79 } |
80 | 80 |
81 void MockInputMethodManager::ActivateInputMethodProperty( | 81 void MockInputMethodManager::ActivateInputMethodProperty( |
82 const std::string& key) { | 82 const std::string& key) { |
83 } | 83 } |
84 | 84 |
85 void MockInputMethodManager::AddInputMethodExtension( | 85 void MockInputMethodManager::AddInputMethodExtension( |
86 const std::string& id, | 86 const std::string& id, |
87 const std::string& name, | |
88 const std::vector<std::string>& layouts, | |
89 const std::vector<std::string>& languages, | |
90 const GURL& options_url, | |
91 const GURL& inputview_url, | |
92 InputMethodEngineInterface* instance) { | 87 InputMethodEngineInterface* instance) { |
93 } | 88 } |
94 | 89 |
95 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) { | 90 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) { |
96 } | 91 } |
97 | 92 |
98 void MockInputMethodManager::GetInputMethodExtensions( | 93 void MockInputMethodManager::GetInputMethodExtensions( |
99 InputMethodDescriptors* result) { | 94 InputMethodDescriptors* result) { |
100 } | 95 } |
101 | 96 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 const std::string& value) { | 160 const std::string& value) { |
166 delegate_.set_hardware_keyboard_layout(value); | 161 delegate_.set_hardware_keyboard_layout(value); |
167 } | 162 } |
168 | 163 |
169 bool MockInputMethodManager::IsLoginKeyboard( | 164 bool MockInputMethodManager::IsLoginKeyboard( |
170 const std::string& layout) const { | 165 const std::string& layout) const { |
171 return true; | 166 return true; |
172 } | 167 } |
173 } // namespace input_method | 168 } // namespace input_method |
174 } // namespace chromeos | 169 } // namespace chromeos |
OLD | NEW |