OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "printing/print_job_constants.h" | 5 #include "printing/print_job_constants.h" |
6 | 6 |
7 namespace printing { | 7 namespace printing { |
8 | 8 |
| 9 // True if this is the first preview request. |
| 10 const char kIsFirstRequest[] = "isFirstRequest"; |
| 11 |
9 // Unique ID sent along every preview request. | 12 // Unique ID sent along every preview request. |
10 const char kPreviewRequestID[] = "requestID"; | 13 const char kPreviewRequestID[] = "requestID"; |
11 | 14 |
12 // Print using cloud print: true if selected, false if not. | 15 // Print using cloud print: true if selected, false if not. |
13 const char kSettingCloudPrintId[] = "cloudPrintID"; | 16 const char kSettingCloudPrintId[] = "cloudPrintID"; |
14 | 17 |
15 // Print job setting 'collate'. | 18 // Print job setting 'collate'. |
16 const char kSettingCollate[] = "collate"; | 19 const char kSettingCollate[] = "collate"; |
17 | 20 |
18 // Print out color: true for color, false for grayscale. | 21 // Print out color: true for color, false for grayscale. |
(...skipping 26 matching lines...) Expand all Loading... |
45 // Print to PDF option: true if selected, false if not. | 48 // Print to PDF option: true if selected, false if not. |
46 const char kSettingPrintToPDF[] = "printToPDF"; | 49 const char kSettingPrintToPDF[] = "printToPDF"; |
47 | 50 |
48 // Indices used to represent first page, invalid page and complete | 51 // Indices used to represent first page, invalid page and complete |
49 // preview document. | 52 // preview document. |
50 const int FIRST_PAGE_INDEX = 0; | 53 const int FIRST_PAGE_INDEX = 0; |
51 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; | 54 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; |
52 const int INVALID_PAGE_INDEX = -2; | 55 const int INVALID_PAGE_INDEX = -2; |
53 | 56 |
54 } // namespace printing | 57 } // namespace printing |
OLD | NEW |