1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 chrome
.app
.runtime
.onLaunched
.addListener(function(launchData
) {
6 if (launchData
.isKioskSession
)
7 chrome
.test
.sendMessage('launchData.isKioskSession = true');
9 chrome
.power
.requestKeepAwake('display');
11 chrome
.experimental
.power
.requestKeepAwake(function() {});
13 chrome
.app
.window
.create('app_main.html',