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

Side by Side Diff: chromeos/ime/input_method_manager.h

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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 5 #ifndef CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
6 #define CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 6 #define CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 // Removes an input method extension. 158 // Removes an input method extension.
159 virtual void RemoveInputMethodExtension(const std::string& id) = 0; 159 virtual void RemoveInputMethodExtension(const std::string& id) = 0;
160 160
161 // Returns a list of descriptors for all Input Method Extensions. 161 // Returns a list of descriptors for all Input Method Extensions.
162 virtual void GetInputMethodExtensions(InputMethodDescriptors* result) = 0; 162 virtual void GetInputMethodExtensions(InputMethodDescriptors* result) = 0;
163 163
164 // Sets the list of extension IME ids which should be enabled. 164 // Sets the list of extension IME ids which should be enabled.
165 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) = 0; 165 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) = 0;
166 166
167 // Sets current input method to default (first owners, then hardware).
168 virtual void SetInputMethodDefault() = 0;
169
167 // Gets the descriptor of the input method which is currently selected. 170 // Gets the descriptor of the input method which is currently selected.
168 virtual InputMethodDescriptor GetCurrentInputMethod() const = 0; 171 virtual InputMethodDescriptor GetCurrentInputMethod() const = 0;
169 172
170 // Gets the list of input method properties. The list could be empty(). 173 // Gets the list of input method properties. The list could be empty().
171 virtual InputMethodPropertyList GetCurrentInputMethodProperties() const = 0; 174 virtual InputMethodPropertyList GetCurrentInputMethodProperties() const = 0;
172 175
173 // Returns an X keyboard object which could be used to change the current XKB 176 // Returns an X keyboard object which could be used to change the current XKB
174 // layout, change the caps lock status, and set the auto repeat rate/interval. 177 // layout, change the caps lock status, and set the auto repeat rate/interval.
175 virtual XKeyboard* GetXKeyboard() = 0; 178 virtual XKeyboard* GetXKeyboard() = 0;
176 179
(...skipping 15 matching lines...) Expand all
192 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0; 195 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0;
193 196
194 // If keyboard layout can be uset at login screen 197 // If keyboard layout can be uset at login screen
195 virtual bool IsFullLatinKeyboard(const std::string& layout) const = 0; 198 virtual bool IsFullLatinKeyboard(const std::string& layout) const = 0;
196 }; 199 };
197 200
198 } // namespace input_method 201 } // namespace input_method
199 } // namespace chromeos 202 } // namespace chromeos
200 203
201 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 204 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698