Index: examples/games/scummvm/packaged_app/background.js |
diff --git a/examples/games/scummvm/packaged_app/background.js b/examples/games/scummvm/packaged_app/background.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6b88bf00590a34e1d7fd6b3defd22b999980fd6c |
--- /dev/null |
+++ b/examples/games/scummvm/packaged_app/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: 640, |
+ height: 800, |
+ frame: 'none' |
+ }); |
+} |
+ |
+chrome.app.runtime.onLaunched.addListener(onLaunched); |