blob: 6ed2a1a5fab2602a439c85e0427e1b71255540fb [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Oobe Supervision Transition screen implementation.
*/
login.createScreen(
'SupervisionTransitionScreen', 'supervision-transition', function() {
return {
/** @override */
get defaultControl() {
return $('supervision-transition-md');
},
/** @override */
onBeforeShow: function(data) {
Oobe.getInstance().headerHidden = true;
$('supervision-transition-md')
.setIsRemovingSupervision(
data['isRemovingSupervision'] ? true : false);
},
};
});