chromium/chrome/test/data/chromeos/app_mode/apps_and_extensions/offline_enabled_kiosk_app/v2_required_platform_version_added/main.js

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

chrome.app.runtime.onLaunched.addListener(function(launchData) {
  if (launchData.isKioskSession)
    chrome.test.sendMessage('launchData.isKioskSession = true');

  chrome.app.window.create('app_main.html',
      { 'width': 1920,
        'height': 1080 });
});