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

Unified Diff: ash/system/status_area_widget.cc

Issue 11117012: ash: Fix event processing in modal windows in login/lock screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ash/system/status_area_widget.cc
diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
index 937062566a31c9ae93adec41668f3018f5d8354f..59f91a7a9ac50440e5f66282c0b237456580395c 100644
--- a/ash/system/status_area_widget.cc
+++ b/ash/system/status_area_widget.cc
@@ -87,7 +87,8 @@ class DummySystemTrayDelegate : public SystemTrayDelegate {
}
virtual user::LoginStatus GetUserLoginStatus() const OVERRIDE {
- return user::LOGGED_IN_USER;
+ return Shell::GetInstance()->IsScreenLocked() ? user::LOGGED_IN_LOCKED :
+ user::LOGGED_IN_USER;
}
virtual bool SystemShouldUpgrade() const OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698