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

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: Starting over. This used to be 286933006 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/extensions/test/data/platform_app/background.js b/chrome/common/extensions/docs/examples/api/document_scan/background.js
similarity index 60%
copy from extensions/test/data/platform_app/background.js
copy to chrome/common/extensions/docs/examples/api/document_scan/background.js
index dccb52cbc8aedb6b5b5a4231b923b5726a40aa21..7f7faf23839cbb699276e089d0f040b5f9e3e8a9 100644
--- a/extensions/test/data/platform_app/background.js
+++ b/chrome/common/extensions/docs/examples/api/document_scan/background.js
@@ -3,10 +3,12 @@
// found in the LICENSE file.
chrome.app.runtime.onLaunched.addListener(function() {
- chrome.app.window.create('hello.html', {
- 'innerBounds': {
- 'width': 400,
- 'height': 300
+ 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