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

Unified Diff: chrome/common/extensions/api/document_scan.idl

Issue 886943003: Move documentScan.html from extensions to apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/extensions/apps/... Created 5 years, 11 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/public/apps/documentScan.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/document_scan.idl
diff --git a/chrome/common/extensions/api/document_scan.idl b/chrome/common/extensions/api/document_scan.idl
index 0428d4a10b0481ad0d84cb853dcf50aef0d76576..97baa91c0efa65a1d4ae5f57668cdb5c0f74f85f 100644
--- a/chrome/common/extensions/api/document_scan.idl
+++ b/chrome/common/extensions/api/document_scan.idl
@@ -18,18 +18,19 @@ namespace documentScan {
// an image tag.
DOMString[] dataUrls;
- // The MIME type of |dataUrls|.
+ // The MIME type of <code>dataUrls</code>.
DOMString mimeType;
};
- // Callback from the <code>scan</code> method; on success
- // the results from the scan is returned in |results|.
- callback ScanCallback = void (ScanResults results);
+ // Callback from the <code>scan</code> method.
+ // |result| The results from the scan, if successful.
+ // Otherwise will return null and set runtime.lastError.
+ callback ScanCallback = void (ScanResults result);
interface Functions {
// Performs a document scan. On success, the PNG data will be
// sent to the callback.
- // |options| : <code>Options</code> object containing scan parameters.
+ // |options| : Object containing scan parameters.
// |callback| : Called with the result and data from the scan.
static void scan(ScanOptions options, ScanCallback callback);
};
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/public/apps/documentScan.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698