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

Side by Side Diff: printing/print_job_constants.h

Issue 8425008: PrintPreview:[MAC] Added "Open PDF In Preview" option to open the pdf in native preview app. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added a check to fix the TestErrorMessage unit test Created 9 years, 1 month 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 | « chrome/browser/ui/webui/print_preview_handler.cc ('k') | printing/print_job_constants.cc » ('j') | 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 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_ 5 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_
6 #define PRINTING_PRINT_JOB_CONSTANTS_H_ 6 #define PRINTING_PRINT_JOB_CONSTANTS_H_
7 7
8 #include "build/build_config.h"
8 #include "printing/printing_export.h" 9 #include "printing/printing_export.h"
9 10
10 namespace printing { 11 namespace printing {
11 12
12 PRINTING_EXPORT extern const char kIsFirstRequest[]; 13 PRINTING_EXPORT extern const char kIsFirstRequest[];
13 PRINTING_EXPORT extern const char kPreviewRequestID[]; 14 PRINTING_EXPORT extern const char kPreviewRequestID[];
14 PRINTING_EXPORT extern const char kPreviewUIAddr[]; 15 PRINTING_EXPORT extern const char kPreviewUIAddr[];
15 PRINTING_EXPORT extern const char kSettingCloudPrintId[]; 16 PRINTING_EXPORT extern const char kSettingCloudPrintId[];
16 PRINTING_EXPORT extern const char kSettingCloudPrintDialog[]; 17 PRINTING_EXPORT extern const char kSettingCloudPrintDialog[];
17 PRINTING_EXPORT extern const char kSettingCollate[]; 18 PRINTING_EXPORT extern const char kSettingCollate[];
(...skipping 24 matching lines...) Expand all
42 PRINTING_EXPORT extern const char kSettingPageRange[]; 43 PRINTING_EXPORT extern const char kSettingPageRange[];
43 PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; 44 PRINTING_EXPORT extern const char kSettingPageRangeFrom[];
44 PRINTING_EXPORT extern const char kSettingPageRangeTo[]; 45 PRINTING_EXPORT extern const char kSettingPageRangeTo[];
45 PRINTING_EXPORT extern const char kSettingPreviewModifiable[]; 46 PRINTING_EXPORT extern const char kSettingPreviewModifiable[];
46 PRINTING_EXPORT extern const char kSettingPrinterName[]; 47 PRINTING_EXPORT extern const char kSettingPrinterName[];
47 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; 48 PRINTING_EXPORT extern const char kSettingPrintToPDF[];
48 49
49 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; 50 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX;
50 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; 51 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX;
51 52
53 #if defined(OS_MACOSX)
54 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[];
55 #endif // defined(OS_MACOSX)
56
52 #if defined (USE_CUPS) 57 #if defined (USE_CUPS)
53 // Printer color models 58 // Printer color models
54 PRINTING_EXPORT extern const char kBlack[]; 59 PRINTING_EXPORT extern const char kBlack[];
55 PRINTING_EXPORT extern const char kCMYK[]; 60 PRINTING_EXPORT extern const char kCMYK[];
56 PRINTING_EXPORT extern const char kKCMY[]; 61 PRINTING_EXPORT extern const char kKCMY[];
57 PRINTING_EXPORT extern const char kCMY_K[]; 62 PRINTING_EXPORT extern const char kCMY_K[];
58 PRINTING_EXPORT extern const char kCMY[]; 63 PRINTING_EXPORT extern const char kCMY[];
59 PRINTING_EXPORT extern const char kColor[]; 64 PRINTING_EXPORT extern const char kColor[];
60 PRINTING_EXPORT extern const char kGray[]; 65 PRINTING_EXPORT extern const char kGray[];
61 PRINTING_EXPORT extern const char kGrayscale[]; 66 PRINTING_EXPORT extern const char kGrayscale[];
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 enum MarginType { 123 enum MarginType {
119 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not 124 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not
120 NO_MARGINS, 125 NO_MARGINS,
121 PRINTABLE_AREA_MARGINS, 126 PRINTABLE_AREA_MARGINS,
122 CUSTOM_MARGINS, 127 CUSTOM_MARGINS,
123 }; 128 };
124 129
125 } // namespace printing 130 } // namespace printing
126 131
127 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 132 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview_handler.cc ('k') | printing/print_job_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698