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

Side by Side Diff: public/web/WebPrintPresetOptions.h

Issue 980733002: Return additional info in WebPrintPresetOptions: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698