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

Unified Diff: chrome/browser/chromeos/login/app_launch_controller.cc

Issue 993423002: Reland kiosk: Fix bailout shortcut not working. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/app_launch_controller.cc
diff --git a/chrome/browser/chromeos/login/app_launch_controller.cc b/chrome/browser/chromeos/login/app_launch_controller.cc
index b896293ce422618bfa453582908d97038180865a..33cb6b86ea6079fed04388b66ec3921d131f6501 100644
--- a/chrome/browser/chromeos/login/app_launch_controller.cc
+++ b/chrome/browser/chromeos/login/app_launch_controller.cc
@@ -129,6 +129,9 @@ AppLaunchController::~AppLaunchController() {
void AppLaunchController::StartAppLaunch(bool is_auto_launch) {
DVLOG(1) << "Starting kiosk mode...";
+ // Ensure WebUILoginView is enabled so that bailout shortcut key works.
+ host_->GetWebUILoginView()->SetUIEnabled(true);
+
webui_visible_ = host_->GetWebUILoginView()->webui_visible();
if (!webui_visible_) {
registrar_.Add(this, chrome::NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698