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

Side by Side Diff: components/proximity_auth/screenlock_bridge.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ 5 #ifndef COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_
6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ 6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void SetAriaLabel(const base::string16& aria_label); 63 void SetAriaLabel(const base::string16& aria_label);
64 64
65 // If hardlock on click is set, clicking the icon in the screenlock will 65 // If hardlock on click is set, clicking the icon in the screenlock will
66 // go to state where password is required for unlock. 66 // go to state where password is required for unlock.
67 void SetHardlockOnClick(); 67 void SetHardlockOnClick();
68 68
69 // If the current lock screen is a trial run to introduce users to Easy 69 // If the current lock screen is a trial run to introduce users to Easy
70 // Unlock, the icon will record metrics upon click. 70 // Unlock, the icon will record metrics upon click.
71 void SetTrialRun(); 71 void SetTrialRun();
72 72
73 std::string GetIDString() const;
74
75 const base::string16 tooltip() const { return tooltip_; }
76
77 bool autoshow_tooltip() const { return autoshow_tooltip_; }
78
79 const base::string16 aria_label() const { return aria_label_; }
80
81 bool hardlock_on_click() const { return hardlock_on_click_; }
82
83 bool is_trial_run() const { return is_trial_run_; }
84
73 private: 85 private:
74 UserPodCustomIcon icon_; 86 UserPodCustomIcon icon_;
75 87
76 base::string16 tooltip_; 88 base::string16 tooltip_;
77 bool autoshow_tooltip_; 89 bool autoshow_tooltip_;
78 90
79 base::string16 aria_label_; 91 base::string16 aria_label_;
80 92
81 bool hardlock_on_click_; 93 bool hardlock_on_click_;
82 94
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // The last focused user's id. 194 // The last focused user's id.
183 AccountId focused_account_id_; 195 AccountId focused_account_id_;
184 base::ObserverList<Observer, true> observers_; 196 base::ObserverList<Observer, true> observers_;
185 197
186 DISALLOW_COPY_AND_ASSIGN(ScreenlockBridge); 198 DISALLOW_COPY_AND_ASSIGN(ScreenlockBridge);
187 }; 199 };
188 200
189 } // namespace proximity_auth 201 } // namespace proximity_auth
190 202
191 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ 203 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.cc ('k') | components/proximity_auth/screenlock_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698