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

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

Issue 23608003: Default keyboard layout should be set considering owners preference. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 106 }
107 107
108 void MockInputMethodManager::GetInputMethodExtensions( 108 void MockInputMethodManager::GetInputMethodExtensions(
109 InputMethodDescriptors* result) { 109 InputMethodDescriptors* result) {
110 } 110 }
111 111
112 void MockInputMethodManager::SetEnabledExtensionImes( 112 void MockInputMethodManager::SetEnabledExtensionImes(
113 std::vector<std::string>* ids) { 113 std::vector<std::string>* ids) {
114 } 114 }
115 115
116 void MockInputMethodManager::SetInputMethodDefault() {
117 }
118
116 bool MockInputMethodManager::SwitchToNextInputMethod() { 119 bool MockInputMethodManager::SwitchToNextInputMethod() {
117 return true; 120 return true;
118 } 121 }
119 122
120 bool MockInputMethodManager::SwitchToPreviousInputMethod( 123 bool MockInputMethodManager::SwitchToPreviousInputMethod(
121 const ui::Accelerator& accelerator) { 124 const ui::Accelerator& accelerator) {
122 return true; 125 return true;
123 } 126 }
124 127
125 bool MockInputMethodManager::SwitchInputMethod( 128 bool MockInputMethodManager::SwitchInputMethod(
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 const std::string& value) { 169 const std::string& value) {
167 delegate_.set_hardware_keyboard_layout(value); 170 delegate_.set_hardware_keyboard_layout(value);
168 } 171 }
169 172
170 bool MockInputMethodManager::IsFullLatinKeyboard( 173 bool MockInputMethodManager::IsFullLatinKeyboard(
171 const std::string& layout) const { 174 const std::string& layout) const {
172 return true; 175 return true;
173 } 176 }
174 } // namespace input_method 177 } // namespace input_method
175 } // namespace chromeos 178 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698