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

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

Issue 10795051: Implement asynchronous interface/plumbing for GetDefaultPrintSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 | Annotate | Revision Log
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 M23 = 0.7
raymes 2012/07/20 22:46:56 Trung mentioned that this interface version should
dmichael (off chromium) 2012/07/23 18:20:09 I don't think that's strictly true... your change
raymes 2012/07/24 00:37:08 Done. I had to remove the M21 label for it to pick
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 28 matching lines...) Expand all
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);
60 }; 61 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698