Commit 7bfd4b49 authored by Anatoliy Potapchuk's avatar Anatoliy Potapchuk Committed by Commit Bot

Fix shelf visibility in kiosk splash screen

This cl hides shelf during splash screen, so users can't crash chrome
anymore :)

Bug: 1026638,1015383
Change-Id: I005006d470429176e4bb7830b80149a54e5ac691
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1926481Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Anatoliy Potapchuk <apotapchuk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#722424}
parent b34cd2f7
......@@ -24,6 +24,7 @@
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/ash/login_screen_client.h"
#include "chrome/browser/ui/ash/system_tray_client.h"
#include "chrome/browser/ui/ash/wallpaper_controller_client.h"
#include "chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h"
#include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
......@@ -172,7 +173,7 @@ void LoginDisplayHostMojo::OnFinalize() {
}
void LoginDisplayHostMojo::SetStatusAreaVisible(bool visible) {
NOTIMPLEMENTED();
SystemTrayClient::Get()->SetPrimaryTrayVisible(visible);
}
void LoginDisplayHostMojo::StartWizard(OobeScreenId first_screen) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment