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

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

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback (update method name) Created 6 years, 5 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 | « pdf/pdfium/pdfium_engine.cc ('k') | 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 * Definition of the PPP_Printing interface. 7 * Definition of the PPP_Printing interface.
8 */ 8 */
9 9
10 // Note: This version should always match the PPB_Printing_Dev interface. 10 // Note: This version should always match the PPB_Printing_Dev interface.
11 label Chrome { 11 label Chrome {
12 M21 = 0.6 12 M21 = 0.6,
13 M37 = 0.7
13 }; 14 };
14 15
15 /** 16 /**
16 * Specifies a contiguous range of page numbers to be printed. 17 * Specifies a contiguous range of page numbers to be printed.
17 * The page numbers use a zero-based index. 18 * The page numbers use a zero-based index.
18 */ 19 */
19 [assert_size(8)] 20 [assert_size(8)]
20 struct PP_PrintPageNumberRange_Dev { 21 struct PP_PrintPageNumberRange_Dev {
21 uint32_t first_page_number; 22 uint32_t first_page_number;
22 uint32_t last_page_number; 23 uint32_t last_page_number;
(...skipping 27 matching lines...) Expand all
50 [in] uint32_t page_range_count); 51 [in] uint32_t page_range_count);
51 52
52 /** Ends the print session. Further calls to PrintPages will fail. */ 53 /** Ends the print session. Further calls to PrintPages will fail. */
53 void End([in] PP_Instance instance); 54 void End([in] PP_Instance instance);
54 55
55 /** 56 /**
56 * Returns true if the current content should be printed into the full page 57 * Returns true if the current content should be printed into the full page
57 * and not scaled down to fit within the printer's printable area. 58 * and not scaled down to fit within the printer's printable area.
58 */ 59 */
59 PP_Bool IsScalingDisabled([in] PP_Instance instance); 60 PP_Bool IsScalingDisabled([in] PP_Instance instance);
61 /**
62 * Returns the number of copies to be printed.
63 */
64 int32_t GetCopiesToPrint([in] PP_Instance instance);
yzshen1 2014/07/16 16:10:46 You need to add [version=0.7] for this method. Be
Nikhil 2014/07/16 17:42:01 Thanks for reviewing. When I tried adding [version
Nikhil 2014/07/29 10:12:07 Done.
60 }; 65 };
OLDNEW
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | ppapi/c/dev/ppp_printing_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698