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

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

Issue 10834108: Replace InputMethodEngineIBus. (Closed) Base URL: http://git.chromium.org/chromium/src.git@input_method_engine_ibus
Patch Set: Address comments Created 8 years, 4 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
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_input_method_manager.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698