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

Side by Side Diff: chrome/browser/chromeos/login/lock_screen_utils.h

Issue 2923773003: Adding mojo calls for several lock screen related operations. (Closed)
Patch Set: comments and rebase Created 3 years, 6 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_UTILS_H_
7
8 #include "ui/base/ime/chromeos/input_method_manager.h"
9
10 class AccountId;
11
12 namespace chromeos {
13 namespace lock_screen_utils {
14
15 // Update current input method (namely keyboard layout) in the given IME state
16 // to last input method used by this user.
17 void SetUserInputMethod(const std::string& username,
18 input_method::InputMethodManager::State* ime_state);
19
20 // Get user's last input method.
21 std::string GetUserLastInputMethod(const std::string& username);
22
23 // Update user's input method.
24 bool SetUserInputMethodImpl(const std::string& username,
25 const std::string& user_input_method,
26 input_method::InputMethodManager::State* ime_state);
27
28 // Sets the currently allowed input method, including those that are enforced
29 // by policy.
30 void EnforcePolicyInputMethods(std::string user_input_method);
31
32 // Update the keyboard settings for |account_id|.
33 void SetKeyboardSettings(const AccountId& account_id);
34
35 } // namespace lock_screen_utils
36 } // namespace chromeos
37
38 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/lock/views_screen_locker.cc ('k') | chrome/browser/chromeos/login/lock_screen_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698