Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: chrome/browser/chromeos/input_method/mock_input_method_manager.cc

Issue 232333002: ozone: Rename XKeyboard to KeyboardController & use fake under ozone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to ImeKeyboard & rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_input_method_manager.h ('k') | chrome/browser/chromeos/login/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698