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

Side by Side Diff: ppapi/api/dev/ppp_printing_dev.idl

Issue 9455083: Proxy the PPP_Printing interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/c/dev/ppp_printing_dev.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 5
6 /** 6 /**
7 * Implementation of the Printing interface. 7 * Implementation of the Printing interface.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 * pages required for the print output at the given page size (0 indicates 62 * pages required for the print output at the given page size (0 indicates
63 * a failure). 63 * a failure).
64 */ 64 */
65 int32_t Begin([in] PP_Instance instance, 65 int32_t Begin([in] PP_Instance instance,
66 [in] PP_PrintSettings_Dev print_settings); 66 [in] PP_PrintSettings_Dev print_settings);
67 67
68 /** 68 /**
69 * Prints the specified pages using the format specified in Begin. 69 * Prints the specified pages using the format specified in Begin.
70 * Returns a resource that represents the printed output. 70 * Returns a resource that represents the printed output.
71 * This is a PPB_ImageData resource if the output format is 71 * This is a PPB_ImageData resource if the output format is
72 * PP_PrintOutputFormat_Raster and a PPB_Blob otherwise. Returns 0 on 72 * PP_PrintOutputFormat_Raster and a PPB_Buffer otherwise. Returns 0 on
73 * failure. 73 * failure.
74 */ 74 */
75 PP_Resource PrintPages([in] PP_Instance instance, 75 PP_Resource PrintPages([in] PP_Instance instance,
76 [in] PP_PrintPageNumberRange_Dev page_ranges, 76 [in] PP_PrintPageNumberRange_Dev page_ranges,
77 [in] uint32_t page_range_count); 77 [in] uint32_t page_range_count);
78 78
79 /** Ends the print session. Further calls to PrintPage will fail. */ 79 /** Ends the print session. Further calls to PrintPage will fail. */
80 void End([in] PP_Instance instance); 80 void End([in] PP_Instance instance);
81 81
82 /** 82 /**
83 * Returns true if the current content should be printed into the full page 83 * Returns true if the current content should be printed into the full page
84 * and not scaled down to fit within the printer's printable area. 84 * and not scaled down to fit within the printer's printable area.
85 */ 85 */
86 PP_Bool IsScalingDisabled([in] PP_Instance instance); 86 PP_Bool IsScalingDisabled([in] PP_Instance instance);
87 }; 87 };
88 88
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/dev/ppp_printing_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698