| Index: native_client_sdk/src/examples/resources/background.js
|
| diff --git a/native_client_sdk/src/examples/resources/background.js b/native_client_sdk/src/examples/resources/background.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1fc5a19b3ac8722945ca5283e58162ac9ccaa4d3
|
| --- /dev/null
|
| +++ b/native_client_sdk/src/examples/resources/background.js
|
| @@ -0,0 +1,13 @@
|
| +// Copyright (c) 2013 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.
|
| +
|
| +function onLaunched(launchData) {
|
| + chrome.app.window.create('index.html', {
|
| + width: 1024,
|
| + height: 800,
|
| + frame: 'none'
|
| + });
|
| +}
|
| +
|
| +chrome.app.runtime.onLaunched.addListener(onLaunched);
|
|
|