OLD | NEW |
---|---|
1 { | 1 { |
2 # policy_templates.json - Metafile for policy templates | 2 # policy_templates.json - Metafile for policy templates |
3 # | 3 # |
4 # The content of this file is evaluated as a Python expression. | 4 # The content of this file is evaluated as a Python expression. |
5 # | 5 # |
6 # This file is used as input to generate the following policy templates: | 6 # This file is used as input to generate the following policy templates: |
7 # ADM, ADMX+ADML, MCX/plist and html documentation. | 7 # ADM, ADMX+ADML, MCX/plist and html documentation. |
8 # | 8 # |
9 # Policy templates are user interface definitions or documents about the | 9 # Policy templates are user interface definitions or documents about the |
10 # policies that can be used to configure Chrome. Each policy is a name-value | 10 # policies that can be used to configure Chrome. Each policy is a name-value |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
116 # templates and documentation. The policy definition list that Chrome sees | 116 # templates and documentation. The policy definition list that Chrome sees |
117 # will include policies marked with 'future'. If a WIP policy isn't meant to | 117 # will include policies marked with 'future'. If a WIP policy isn't meant to |
118 # be seen by the policy providers either, the 'supported_on' key should be set | 118 # be seen by the policy providers either, the 'supported_on' key should be set |
119 # to an empty list. | 119 # to an empty list. |
120 # | 120 # |
121 # IDs: | 121 # IDs: |
122 # Since a Protocol Buffer definition is generated from this file, unique and | 122 # Since a Protocol Buffer definition is generated from this file, unique and |
123 # persistent IDs for all fields (but not for groups!) are needed. These are | 123 # persistent IDs for all fields (but not for groups!) are needed. These are |
124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
125 # because doing so would break the deployed wire format! | 125 # because doing so would break the deployed wire format! |
126 # For your editing convenience: highest ID currently used: 307 | 126 # For your editing convenience: highest ID currently used: 308 |
127 # | 127 # |
128 # Placeholders: | 128 # Placeholders: |
129 # The following placeholder strings are automatically substituted: | 129 # The following placeholder strings are automatically substituted: |
130 # $1 -> Google Chrome / Chromium | 130 # $1 -> Google Chrome / Chromium |
131 # $2 -> Google Chrome OS / Chromium OS | 131 # $2 -> Google Chrome OS / Chromium OS |
132 # $3 -> Google Chrome Frame / Chromium Frame | 132 # $3 -> Google Chrome Frame / Chromium Frame |
133 # $6 is reserved for doc_writer | 133 # $6 is reserved for doc_writer |
134 # | 134 # |
135 # Device Policy: | 135 # Device Policy: |
136 # An additional flag 'device_only' (optional, defaults to False) indicates | 136 # An additional flag 'device_only' (optional, defaults to False) indicates |
(...skipping 3967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4104 'example_value': False, | 4104 'example_value': False, |
4105 'id': 117, | 4105 'id': 117, |
4106 'caption': '''Disable Print Preview (deprecated)''', | 4106 'caption': '''Disable Print Preview (deprecated)''', |
4107 'desc': '''Show the system print dialog instead of print preview. | 4107 'desc': '''Show the system print dialog instead of print preview. |
4108 | 4108 |
4109 When this setting is enabled, <ph name="PRODUCT_NAME">$1<ex>Google Chrome< /ex></ph> will open the system print dialog instead of the built-in print previe w when a user requests a page to be printed. | 4109 When this setting is enabled, <ph name="PRODUCT_NAME">$1<ex>Google Chrome< /ex></ph> will open the system print dialog instead of the built-in print previe w when a user requests a page to be printed. |
4110 | 4110 |
4111 If this policy is not set or is set to false, print commands trigger the p rint preview screen.''', | 4111 If this policy is not set or is set to false, print commands trigger the p rint preview screen.''', |
4112 }, | 4112 }, |
4113 { | 4113 { |
4114 'name': 'DefaultPrinterSelection', | |
4115 'type': 'string', | |
4116 'schema': { 'type': 'string' }, | |
4117 'supported_on': ['chrome.*:48-', 'chrome_os:48-'], | |
4118 'features': { | |
4119 'dynamic_refresh': True, | |
4120 'per_profile': True, | |
4121 }, | |
4122 'example_value': '{ "kind": "cloud", "idPattern": ".*public", "namePattern ": ".*Color" }', | |
4123 'id': 308, | |
4124 'caption': '''Default printer selection rules''', | |
4125 'desc': '''Overrides <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> default printer selection rules. | |
4126 | |
4127 This policy determines the rules for selecting the default printer in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> which happens the first time t he print function is used with a profile. | |
4128 | |
4129 When this policy is set, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex>< /ph> will attempt to find a printer matching all of the specified attributes, an d select it as default printer. The first printer found matching the policy is s elected, in case of non-unique match any matching printer can be selected, depen ding on the order printers are discovered. | |
4130 | |
4131 If this policy is not set or matching printer is not found within the time out, the printer defaults to built-in PDF printer or no printer selected, when P DF printer is not available. | |
4132 | |
4133 The value is parsed as JSON object, conforming to the following schema: | |
4134 { | |
4135 "type": "object", | |
4136 "properties": { | |
4137 "kind": { | |
4138 "description": "Whether to limit the search of the matching printer to a specific set of printers.", | |
4139 "type": { | |
4140 "enum": [ "local", "cloud" ] | |
4141 } | |
4142 }, | |
4143 "idPattern": { | |
4144 "description": "Regular expression to match printer id.", | |
4145 "type": "string" | |
4146 }, | |
4147 "namePattern": { | |
4148 "description": "Regular expression to match printer display name.", | |
4149 "type": "string" | |
4150 } | |
4151 } | |
4152 } | |
4153 | |
4154 Printers connected to Google Cloud Print are considered "cloud", the rest of the printers are classified as "local". | |
4155 Omitting a field means all values match, for example, not specifying conne ctivity will cause Print Preview to initiate the discovery of all kinds of print ers, local and cloud. | |
4156 Regular expression patterns are case sensistive.''', | |
Thiemo Nagel
2015/10/15 15:31:51
Nit: There are many regular expression libraries/s
Aleksey Shlyapnikov
2015/10/15 22:12:40
Done.
| |
4157 }, | |
4158 { | |
4114 'name': 'DisableSSLRecordSplitting', | 4159 'name': 'DisableSSLRecordSplitting', |
4115 'type': 'main', | 4160 'type': 'main', |
4116 'schema': { 'type': 'boolean' }, | 4161 'schema': { 'type': 'boolean' }, |
4117 'supported_on': ['chrome.*:18-46', 'chrome_os:18-46'], | 4162 'supported_on': ['chrome.*:18-46', 'chrome_os:18-46'], |
4118 'features': { | 4163 'features': { |
4119 'dynamic_refresh': True, | 4164 'dynamic_refresh': True, |
4120 'per_profile': False, | 4165 'per_profile': False, |
4121 }, | 4166 }, |
4122 'example_value': True, | 4167 'example_value': True, |
4123 'id': 118, | 4168 'id': 118, |
(...skipping 3525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7649 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 7694 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
7650 'text': 'Default Settings (users can override)', | 7695 'text': 'Default Settings (users can override)', |
7651 }, | 7696 }, |
7652 'doc_complex_policies_on_windows': { | 7697 'doc_complex_policies_on_windows': { |
7653 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 7698 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
7654 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', | 7699 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', |
7655 }, | 7700 }, |
7656 }, | 7701 }, |
7657 'placeholders': [], | 7702 'placeholders': [], |
7658 } | 7703 } |
OLD | NEW |