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

Side by Side Diff: extensions/common/api/printer_provider.idl

Issue 944103002: Add note about availability to printerProvider API description (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The <code>chrome.printerProvider</code> API exposes events used by print 5 // <p>The <code>chrome.printerProvider</code> API exposes events used by print
6 // manager to query printers controlled by extensions, to query their 6 // manager to query printers controlled by extensions, to query their
7 // capabilities and to submit print jobs to these printers. 7 // capabilities and to submit print jobs to these printers.
8 // <p/>
9 // <p>Available only on dev channel since Chrome 42.</p>
8 namespace printerProvider { 10 namespace printerProvider {
9 // Error codes returned in response to $(ref:onPrintRequested) event. 11 // Error codes returned in response to $(ref:onPrintRequested) event.
10 enum PrintError { 12 enum PrintError {
11 // Operation completed successfully. 13 // Operation completed successfully.
12 OK, 14 OK,
13 15
14 // General failure. 16 // General failure.
15 FAILED, 17 FAILED,
16 18
17 // Print ticket is invalid. For example, ticket is inconsistent with 19 // Print ticket is invalid. For example, ticket is inconsistent with
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 82
81 // Event fired when print manager requests printing. 83 // Event fired when print manager requests printing.
82 // |printJob|: The printing request parameters. 84 // |printJob|: The printing request parameters.
83 // |resultCallback|: Callback that should be called when the printing 85 // |resultCallback|: Callback that should be called when the printing
84 // request is completed. 86 // request is completed.
85 static void onPrintRequested(PrintJob printJob, 87 static void onPrintRequested(PrintJob printJob,
86 PrintCallback resultCallback); 88 PrintCallback resultCallback);
87 }; 89 };
88 }; 90 };
89 91
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698