| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Defines strings constants for parsing Cloud Device Description. | |
| 6 // https://developers.google.com/cloud-print/docs/cdd | |
| 7 | |
| 8 #ifndef COMPONENTS_CLOUD_DEVICES_CLOUD_DEVICES_JSON_CONSTANTS_H_ | |
| 9 #define COMPONENTS_CLOUD_DEVICES_CLOUD_DEVICES_JSON_CONSTANTS_H_ | |
| 10 | |
| 11 #include <vector> | |
| 12 | |
| 13 #include "base/memory/scoped_ptr.h" | |
| 14 | |
| 15 namespace cloud_devices { | |
| 16 | |
| 17 namespace cdd { | |
| 18 | |
| 19 extern const char kVersion[]; | |
| 20 extern const char kVersion10[]; | |
| 21 extern const char kSectionPrinter[]; | |
| 22 | |
| 23 extern const char kKeyContentType[]; | |
| 24 extern const char kKeyDefault[]; | |
| 25 extern const char kKeyIsDefault[]; | |
| 26 extern const char kKeyMax[]; | |
| 27 extern const char kKeyType[]; | |
| 28 extern const char kKeyOption[]; | |
| 29 extern const char kKeyVendorId[]; | |
| 30 extern const char kCustomName[]; | |
| 31 | |
| 32 extern const char kMargineBottomMicrons[]; | |
| 33 extern const char kMargineLeftMicrons[]; | |
| 34 extern const char kMargineRightMicrons[]; | |
| 35 extern const char kMargineTopMicrons[]; | |
| 36 | |
| 37 extern const char kDpiHorizontal[]; | |
| 38 extern const char kDpiVertical[]; | |
| 39 | |
| 40 extern const char kOptionCollate[]; | |
| 41 extern const char kOptionColor[]; | |
| 42 extern const char kOptionContentType[]; | |
| 43 extern const char kOptionCopies[]; | |
| 44 extern const char kOptionDpi[]; | |
| 45 extern const char kOptionDuplex[]; | |
| 46 extern const char kOptionFitToPage[]; | |
| 47 extern const char kOptionMargins[]; | |
| 48 extern const char kOptionMediaSize[]; | |
| 49 extern const char kOptionPageOrientation[]; | |
| 50 extern const char kOptionPageRange[]; | |
| 51 extern const char kOptionReverse[]; | |
| 52 | |
| 53 extern const char kPageRangeEnd[]; | |
| 54 extern const char kPageRangeStart[]; | |
| 55 | |
| 56 extern const char kTypeColorColor[]; | |
| 57 extern const char kTypeColorMonochrome[]; | |
| 58 extern const char kTypeColorCustomColor[]; | |
| 59 extern const char kTypeColorCustomMonochrome[]; | |
| 60 extern const char kTypeColorAuto[]; | |
| 61 | |
| 62 extern const char kTypeDuplexLongEdge[]; | |
| 63 extern const char kTypeDuplexNoDuplex[]; | |
| 64 extern const char kTypeDuplexShortEdge[]; | |
| 65 | |
| 66 extern const char kTypeFitToPageFillPage[]; | |
| 67 extern const char kTypeFitToPageFitToPage[]; | |
| 68 extern const char kTypeFitToPageGrowToPage[]; | |
| 69 extern const char kTypeFitToPageNoFitting[]; | |
| 70 extern const char kTypeFitToPageShrinkToPage[]; | |
| 71 | |
| 72 extern const char kTypeMarginsBorderless[]; | |
| 73 extern const char kTypeMarginsCustom[]; | |
| 74 extern const char kTypeMarginsStandard[]; | |
| 75 extern const char kTypeOrientationAuto[]; | |
| 76 | |
| 77 extern const char kTypeOrientationLandscape[]; | |
| 78 extern const char kTypeOrientationPortrait[]; | |
| 79 | |
| 80 } // namespace cdd | |
| 81 | |
| 82 } // namespace cloud_devices | |
| 83 | |
| 84 #endif // COMPONENTS_CLOUD_DEVICES_CLOUD_DEVICES_JSON_CONSTANTS_H_ | |
| OLD | NEW |