| OLD | NEW |
| 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 M23 = 0.7 |
| 13 }; | 13 }; |
| 14 | 14 |
| 15 /** | 15 /** |
| 16 * Specifies a contiguous range of page numbers to be printed. | 16 * Specifies a contiguous range of page numbers to be printed. |
| 17 * The page numbers use a zero-based index. | 17 * The page numbers use a zero-based index. |
| 18 */ | 18 */ |
| 19 [assert_size(8)] | 19 [assert_size(8)] |
| 20 struct PP_PrintPageNumberRange_Dev { | 20 struct PP_PrintPageNumberRange_Dev { |
| 21 uint32_t first_page_number; | 21 uint32_t first_page_number; |
| 22 uint32_t last_page_number; | 22 uint32_t last_page_number; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 51 | 51 |
| 52 /** Ends the print session. Further calls to PrintPages will fail. */ | 52 /** Ends the print session. Further calls to PrintPages will fail. */ |
| 53 void End([in] PP_Instance instance); | 53 void End([in] PP_Instance instance); |
| 54 | 54 |
| 55 /** | 55 /** |
| 56 * Returns true if the current content should be printed into the full page | 56 * 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. | 57 * and not scaled down to fit within the printer's printable area. |
| 58 */ | 58 */ |
| 59 PP_Bool IsScalingDisabled([in] PP_Instance instance); | 59 PP_Bool IsScalingDisabled([in] PP_Instance instance); |
| 60 }; | 60 }; |
| OLD | NEW |