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

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

Issue 119133003: Make InputMethodEngine manage its descriptor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698