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

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

Issue 1841543002: [Extensions] Convert APIs to use movable types [12] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « extensions/common/api/power.idl ('k') | extensions/common/api/printer_provider_internal.idl » ('j') | 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 // 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 namespace printerProvider { 8 [use_movable_types=true] namespace printerProvider {
9 // Error codes returned in response to $(ref:onPrintRequested) event. 9 // Error codes returned in response to $(ref:onPrintRequested) event.
10 enum PrintError { 10 enum PrintError {
11 // Operation completed successfully. 11 // Operation completed successfully.
12 OK, 12 OK,
13 13
14 // General failure. 14 // General failure.
15 FAILED, 15 FAILED,
16 16
17 // Print ticket is invalid. For example, ticket is inconsistent with 17 // Print ticket is invalid. For example, ticket is inconsistent with
18 // capabilities or extension is not able to handle all settings from the 18 // capabilities or extension is not able to handle all settings from the
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 // Event fired when print manager requests printing. 101 // Event fired when print manager requests printing.
102 // |printJob|: The printing request parameters. 102 // |printJob|: The printing request parameters.
103 // |resultCallback|: Callback that should be called when the printing 103 // |resultCallback|: Callback that should be called when the printing
104 // request is completed. 104 // request is completed.
105 static void onPrintRequested(PrintJob printJob, 105 static void onPrintRequested(PrintJob printJob,
106 PrintCallback resultCallback); 106 PrintCallback resultCallback);
107 }; 107 };
108 }; 108 };
109 109
OLDNEW
« no previous file with comments | « extensions/common/api/power.idl ('k') | extensions/common/api/printer_provider_internal.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698