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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.h

Issue 2903353003: Adding mojo calls for easy unlock service (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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 28 matching lines...) Expand all
39 void HandleRecordClickOnLockIcon(const AccountId& account_id); 39 void HandleRecordClickOnLockIcon(const AccountId& account_id);
40 40
41 // UserBoardView implementation: 41 // UserBoardView implementation:
42 void SetPublicSessionDisplayName(const AccountId& account_id, 42 void SetPublicSessionDisplayName(const AccountId& account_id,
43 const std::string& display_name) override; 43 const std::string& display_name) override;
44 void SetPublicSessionLocales(const AccountId& account_id, 44 void SetPublicSessionLocales(const AccountId& account_id,
45 std::unique_ptr<base::ListValue> locales, 45 std::unique_ptr<base::ListValue> locales,
46 const std::string& default_locale, 46 const std::string& default_locale,
47 bool multiple_recommended_locales) override; 47 bool multiple_recommended_locales) override;
48 void ShowBannerMessage(const base::string16& message) override; 48 void ShowBannerMessage(const base::string16& message) override;
49 void ShowUserPodCustomIcon(const AccountId& account_id, 49 void ShowUserPodCustomIcon(
50 const base::DictionaryValue& icon) override; 50 const AccountId& account_id,
51 const proximity_auth::ScreenlockBridge::UserPodCustomIconOptions&
52 icon_options) override;
51 void HideUserPodCustomIcon(const AccountId& account_id) override; 53 void HideUserPodCustomIcon(const AccountId& account_id) override;
52 void SetAuthType( 54 void SetAuthType(
53 const AccountId& account_id, 55 const AccountId& account_id,
54 proximity_auth::ScreenlockBridge::LockHandler::AuthType auth_type, 56 proximity_auth::ScreenlockBridge::LockHandler::AuthType auth_type,
55 const base::string16& initial_value) override; 57 const base::string16& initial_value) override;
56 void Bind(UserSelectionScreen* screen) override; 58 void Bind(UserSelectionScreen* screen) override;
57 void Unbind() override; 59 void Unbind() override;
58 base::WeakPtr<UserBoardView> GetWeakPtr() override; 60 base::WeakPtr<UserBoardView> GetWeakPtr() override;
59 61
60 UserSelectionScreen* screen_ = nullptr; 62 UserSelectionScreen* screen_ = nullptr;
61 base::WeakPtrFactory<UserBoardScreenHandler> weak_factory_; 63 base::WeakPtrFactory<UserBoardScreenHandler> weak_factory_;
62 64
63 DISALLOW_COPY_AND_ASSIGN(UserBoardScreenHandler); 65 DISALLOW_COPY_AND_ASSIGN(UserBoardScreenHandler);
64 }; 66 };
65 67
66 } // namespace chromeos 68 } // namespace chromeos
67 69
68 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_ 70 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/lock_screen_client.cc ('k') | chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698