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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } | 92 } |
93 | 93 |
94 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) { | 94 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) { |
95 } | 95 } |
96 | 96 |
97 void MockInputMethodManager::EnableHotkeys() { | |
98 } | |
99 | |
100 void MockInputMethodManager::DisableHotkeys() { | |
101 } | |
102 | |
103 bool MockInputMethodManager::SwitchToNextInputMethod() { | 97 bool MockInputMethodManager::SwitchToNextInputMethod() { |
104 return true; | 98 return true; |
105 } | 99 } |
106 | 100 |
107 bool MockInputMethodManager::SwitchToPreviousInputMethod() { | 101 bool MockInputMethodManager::SwitchToPreviousInputMethod() { |
108 return true; | 102 return true; |
109 } | 103 } |
110 | 104 |
111 bool MockInputMethodManager::SwitchInputMethod( | 105 bool MockInputMethodManager::SwitchInputMethod( |
112 const ui::Accelerator& accelerator) { | 106 const ui::Accelerator& accelerator) { |
(...skipping 21 matching lines...) Expand all Loading... |
134 XKeyboard* MockInputMethodManager::GetXKeyboard() { | 128 XKeyboard* MockInputMethodManager::GetXKeyboard() { |
135 return &xkeyboard_; | 129 return &xkeyboard_; |
136 } | 130 } |
137 | 131 |
138 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() { | 132 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() { |
139 return &util_; | 133 return &util_; |
140 } | 134 } |
141 | 135 |
142 } // namespace input_method | 136 } // namespace input_method |
143 } // namespace chromeos | 137 } // namespace chromeos |
OLD | NEW |