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

Unified Diff: ash/common/system/chromeos/palette/palette_tray.cc

Issue 2280293002: Hide ash palette on lock screen, show it in guest mode. (Closed)
Patch Set: Created 4 years, 4 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/common/system/chromeos/palette/palette_tray.cc
diff --git a/ash/common/system/chromeos/palette/palette_tray.cc b/ash/common/system/chromeos/palette/palette_tray.cc
index d205b4b04d4f3e9ebcc5b51c010092a52725f658..974adfc4654cffb8d4c833865b3704657e29d22a 100644
--- a/ash/common/system/chromeos/palette/palette_tray.cc
+++ b/ash/common/system/chromeos/palette/palette_tray.cc
@@ -224,6 +224,10 @@ void PaletteTray::SessionStateChanged(
UpdateIconVisibility();
}
+void PaletteTray::OnLockStateChanged(bool locked) {
+ UpdateIconVisibility();
+}
+
void PaletteTray::ClickedOutsideBubble() {
bubble_.reset();
}
« no previous file with comments | « ash/common/system/chromeos/palette/palette_tray.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698