Chromium Code Reviews| Index: chrome/common/extensions/docs/examples/api/document_scan/background.js |
| diff --git a/chrome/common/extensions/docs/examples/api/document_scan/background.js b/chrome/common/extensions/docs/examples/api/document_scan/background.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4d5f210200f603981247a504185790fc2a86f197 |
| --- /dev/null |
| +++ b/chrome/common/extensions/docs/examples/api/document_scan/background.js |
| @@ -0,0 +1,10 @@ |
| +chrome.app.runtime.onLaunched.addListener(function() { |
| + chrome.app.window.create('scan.html', { |
| + singleton: true, |
| + id: "ChromeApps-Sample-Document-Scan", |
| + bounds: { |
| + 'width': 480, |
| + 'height': 640 |
| + } |
| + }); |
| +}); |