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

Unified Diff: chrome/common/extensions/docs/examples/api/document_scan/scan.html

Issue 286933006: Implement a JavaScript API for document scanning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IDL indicates multiple images can be returned Created 6 years, 3 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/scan.html
diff --git a/chrome/common/extensions/docs/examples/api/document_scan/scan.html b/chrome/common/extensions/docs/examples/api/document_scan/scan.html
new file mode 100644
index 0000000000000000000000000000000000000000..cf7c28be93c5c166dc3fb2c6429504e5274181a0
--- /dev/null
+++ b/chrome/common/extensions/docs/examples/api/document_scan/scan.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Scanner Control</title>
+ <link rel="stylesheet" type="text/css" href="scan.css">
+ </head>
+ <body>
+ <div id="waitAnimation" style="display: none;">
+ <div id="waitSpinner"></div>
+ </div>
+ </img>
+ <button id="requestButton">Request App permissions</button>
+ <button id="listScanners" style="display: none;">List Scanners</button>
+ <div id="scanOption" style="display: none;">
+ <button id="scanButton">Scan <span id="scannerName"></span></button>
+ <form action="#">
+ <input id="scanModeColor" type="radio" name="scanMode" value="color"
+ checked>Color
+ </input>
+ <input id="scanModeGrey" type="radio" name="scanMode" value="gray">
+ Gray
+ </input>
+ <input id="scanModeBW" type="radio" name="scanMode" value="lineart">
+ Black and White
+ </input>
+ </form>
+ </div>
+ <div id="scannedImages">
+ </div>
+ <script src="scan.js"></script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698