OLD | NEW |
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 #ifndef WebPrintPresetOptions_h | 5 #ifndef WebPrintPresetOptions_h |
6 #define WebPrintPresetOptions_h | 6 #define WebPrintPresetOptions_h |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 23 matching lines...) Expand all Loading... |
34 bool isScalingDisabled; | 34 bool isScalingDisabled; |
35 | 35 |
36 // Specifies the number of copies to be printed. | 36 // Specifies the number of copies to be printed. |
37 int copies; | 37 int copies; |
38 | 38 |
39 // Specifies duplex mode to be used for printing. | 39 // Specifies duplex mode to be used for printing. |
40 WebDuplexMode duplexMode; | 40 WebDuplexMode duplexMode; |
41 | 41 |
42 // Specifies page range to be used for printing. | 42 // Specifies page range to be used for printing. |
43 WebPageRanges pageRanges; | 43 WebPageRanges pageRanges; |
| 44 |
| 45 // True if all the pages in the PDF are the same size. |
| 46 bool isPageSizeUniform; |
| 47 |
| 48 // Only valid if the page sizes are uniform. The page size in points. |
| 49 WebSize uniformPageSize; |
44 }; | 50 }; |
45 | 51 |
46 } // namespace blink | 52 } // namespace blink |
47 | 53 |
48 #endif | 54 #endif |
OLD | NEW |