1 // Copyright 2014 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.
7 /** @suppress {duplicate} */
8 var remoting = remoting || {};
11 * Entry point ('load' handler) for App Remoting webapp.
13 remoting.startAppRemoting = function() {
15 // This string is overwritten with the actual app id by the build script.
16 appId: 'APP_REMOTING_APPLICATION_ID',
18 // This string is overwritten with the actual capabilities required by
20 appCapabilities: ['APPLICATION_CAPABILITIES'],
23 var app = new remoting.AppRemoting(options);
27 window.addEventListener('load', remoting.startAppRemoting, false);