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

Side by Side Diff: printing/print_job_constants.cc

Issue 7747033: Merge 97702, 97820, 97976 (Closed) Base URL: svn://chrome-svn/chrome/branches/835/src/
Patch Set: Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « printing/print_job_constants.h ('k') | 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 (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.
16 const char kPreviewUIAddr[] = "previewUIAddr";
17
15 // Print using cloud print: true if selected, false if not. 18 // Print using cloud print: true if selected, false if not.
16 const char kSettingCloudPrintId[] = "cloudPrintID"; 19 const char kSettingCloudPrintId[] = "cloudPrintID";
17 20
18 // Print job setting 'collate'. 21 // Print job setting 'collate'.
19 const char kSettingCollate[] = "collate"; 22 const char kSettingCollate[] = "collate";
20 23
21 // Print out color: true for color, false for grayscale. 24 // Print out color: true for color, false for grayscale.
22 const char kSettingColor[] = "color"; 25 const char kSettingColor[] = "color";
23 26
24 // Number of copies. 27 // Number of copies.
(...skipping 16 matching lines...) Expand all
41 44
42 // The last page of a page range. (1-based) 45 // The last page of a page range. (1-based)
43 const char kSettingPageRangeTo[] = "to"; 46 const char kSettingPageRangeTo[] = "to";
44 47
45 // Printer name. 48 // Printer name.
46 const char kSettingPrinterName[] = "printerName"; 49 const char kSettingPrinterName[] = "printerName";
47 50
48 // Print to PDF option: true if selected, false if not. 51 // Print to PDF option: true if selected, false if not.
49 const char kSettingPrintToPDF[] = "printToPDF"; 52 const char kSettingPrintToPDF[] = "printToPDF";
50 53
51 // Indices used to represent first page, invalid page and complete 54 // Indices used to represent first preview page and complete preview document.
52 // preview document.
53 const int FIRST_PAGE_INDEX = 0; 55 const int FIRST_PAGE_INDEX = 0;
54 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; 56 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1;
55 const int INVALID_PAGE_INDEX = -2;
56 57
57 } // namespace printing 58 } // namespace printing
OLDNEW
« no previous file with comments | « printing/print_job_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698