Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Unified Diff: chrome/common/extensions/docs/examples/api/document_scan/background.js

Issue 286933006: Implement a JavaScript API for document scanning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT complete Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
asargent_no_longer_on_chrome 2014/10/29 23:05:21 FYI, the presubmit check may require you to have t
Paul Stewart 2014/10/30 06:31:51 Done.
+ chrome.app.window.create('scan.html', {
+ singleton: true,
+ id: "ChromeApps-Sample-Document-Scan",
+ bounds: {
+ 'width': 480,
+ 'height': 640
+ }
+ });
+});

Powered by Google App Engine
This is Rietveld 408576698