| 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. | 9 // True if this is the first preview request. |
| 10 const char kIsFirstRequest[] = "isFirstRequest"; | 10 const char kIsFirstRequest[] = "isFirstRequest"; |
| 11 | 11 |
| 12 // Unique ID sent along every preview request. | 12 // Unique ID sent along every preview request. |
| 13 const char kPreviewRequestID[] = "requestID"; | 13 const char kPreviewRequestID[] = "requestID"; |
| 14 | 14 |
| 15 // Unique ID to identify a print preview UI. | 15 // Unique ID to identify a print preview UI. |
| 16 const char kPreviewUIAddr[] = "previewUIAddr"; | 16 const char kPreviewUIAddr[] = "previewUIAddr"; |
| 17 | 17 |
| 18 // Print using cloud print: true if selected, false if not. | 18 // Print using cloud print: true if selected, false if not. |
| 19 const char kSettingCloudPrintId[] = "cloudPrintID"; | 19 const char kSettingCloudPrintId[] = "cloudPrintID"; |
| 20 | 20 |
| 21 // Print using cloud print dialog: true if selected, false if not. | |
| 22 const char kSettingCloudPrintDialog[] = "printWithCloudPrint"; | |
| 23 | |
| 24 // Print job setting 'collate'. | 21 // Print job setting 'collate'. |
| 25 const char kSettingCollate[] = "collate"; | 22 const char kSettingCollate[] = "collate"; |
| 26 | 23 |
| 27 // Print out color: true for color, false for grayscale. | 24 // Print out color: true for color, false for grayscale. |
| 28 const char kSettingColor[] = "color"; | 25 const char kSettingColor[] = "color"; |
| 29 | 26 |
| 30 // Key that specifies the height of the content area of the page. | 27 // Key that specifies the height of the content area of the page. |
| 31 const char kSettingContentHeight[] = "contentHeight"; | 28 const char kSettingContentHeight[] = "contentHeight"; |
| 32 | 29 |
| 33 // Key that specifies the width of the content area of the page. | 30 // Key that specifies the width of the content area of the page. |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 const char kSettingPrinterName[] = "printerName"; | 112 const char kSettingPrinterName[] = "printerName"; |
| 116 | 113 |
| 117 // Print to PDF option: true if selected, false if not. | 114 // Print to PDF option: true if selected, false if not. |
| 118 const char kSettingPrintToPDF[] = "printToPDF"; | 115 const char kSettingPrintToPDF[] = "printToPDF"; |
| 119 | 116 |
| 120 // Indices used to represent first preview page and complete preview document. | 117 // Indices used to represent first preview page and complete preview document. |
| 121 const int FIRST_PAGE_INDEX = 0; | 118 const int FIRST_PAGE_INDEX = 0; |
| 122 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; | 119 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; |
| 123 | 120 |
| 124 } // namespace printing | 121 } // namespace printing |
| OLD | NEW |