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

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

Issue 10907196: Add the ability to filter out extension IMEs from the language settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mock input manager Created 8 years, 3 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 InputMethodEngine* instance) {
93 } 93 }
94 94
95 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) { 95 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) {
96 } 96 }
97 97
98 void MockInputMethodManager::GetInputMethodExtensions(
99 InputMethodDescriptors* result) {
100 }
101
102 void MockInputMethodManager::SetFilteredExtensionImes(
103 std::vector<std::string>* ids) {
104 }
105
98 bool MockInputMethodManager::SwitchToNextInputMethod() { 106 bool MockInputMethodManager::SwitchToNextInputMethod() {
99 return true; 107 return true;
100 } 108 }
101 109
102 bool MockInputMethodManager::SwitchToPreviousInputMethod() { 110 bool MockInputMethodManager::SwitchToPreviousInputMethod() {
103 return true; 111 return true;
104 } 112 }
105 113
106 bool MockInputMethodManager::SwitchInputMethod( 114 bool MockInputMethodManager::SwitchInputMethod(
107 const ui::Accelerator& accelerator) { 115 const ui::Accelerator& accelerator) {
(...skipping 21 matching lines...) Expand all
129 XKeyboard* MockInputMethodManager::GetXKeyboard() { 137 XKeyboard* MockInputMethodManager::GetXKeyboard() {
130 return &xkeyboard_; 138 return &xkeyboard_;
131 } 139 }
132 140
133 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() { 141 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() {
134 return &util_; 142 return &util_;
135 } 143 }
136 144
137 } // namespace input_method 145 } // namespace input_method
138 } // namespace chromeos 146 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_input_method_manager.h ('k') | chrome/browser/chromeos/preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698