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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2885363003: Add policy to use system default printer (Closed)
Patch Set: Fix dynamic refresh Created 3 years, 6 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
OLDNEW
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 # templates and documentation. The policy definition list that Chrome sees 136 # templates and documentation. The policy definition list that Chrome sees
137 # will include policies marked with 'future'. If a WIP policy isn't meant to 137 # will include policies marked with 'future'. If a WIP policy isn't meant to
138 # be seen by the policy providers either, the 'supported_on' key should be set 138 # be seen by the policy providers either, the 'supported_on' key should be set
139 # to an empty list. 139 # to an empty list.
140 # 140 #
141 # IDs: 141 # IDs:
142 # Since a Protocol Buffer definition is generated from this file, unique and 142 # Since a Protocol Buffer definition is generated from this file, unique and
143 # persistent IDs for all fields (but not for groups!) are needed. These are 143 # persistent IDs for all fields (but not for groups!) are needed. These are
144 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 144 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
145 # because doing so would break the deployed wire format! 145 # because doing so would break the deployed wire format!
146 # For your editing convenience: highest ID currently used: 371 146 # For your editing convenience: highest ID currently used: 372
147 # And don't forget to also update the EnterprisePolicies enum of 147 # And don't forget to also update the EnterprisePolicies enum of
148 # histograms.xml (run 'python tools/metrics/histograms/update_policies.py'). 148 # histograms.xml (run 'python tools/metrics/histograms/update_policies.py').
149 # 149 #
150 # Placeholders: 150 # Placeholders:
151 # The following placeholder strings are automatically substituted: 151 # The following placeholder strings are automatically substituted:
152 # $1 -> Google Chrome / Chromium 152 # $1 -> Google Chrome / Chromium
153 # $2 -> Google Chrome OS / Chromium OS 153 # $2 -> Google Chrome OS / Chromium OS
154 # $3 -> Google Chrome Frame / Chromium Frame 154 # $3 -> Google Chrome Frame / Chromium Frame
155 # $6 is reserved for doc_writer 155 # $6 is reserved for doc_writer
156 # 156 #
(...skipping 9462 matching lines...) Expand 10 before | Expand all | Expand 10 after
9619 'features': { 9619 'features': {
9620 'dynamic_refresh': True, 9620 'dynamic_refresh': True,
9621 'per_profile': True, 9621 'per_profile': True,
9622 }, 9622 },
9623 'example_value': True, 9623 'example_value': True,
9624 'id': 370, 9624 'id': 370,
9625 'caption': '''Allow queries to a Google time service''', 9625 'caption': '''Allow queries to a Google time service''',
9626 'tags': [], 9626 'tags': [],
9627 'desc': '''Setting this policy to false stops <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> from occasionally sending queries to a Google server t o retrieve an accurate timestamp. These queries will be enabled if this policy i s set to True or is not set.''', 9627 'desc': '''Setting this policy to false stops <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> from occasionally sending queries to a Google server t o retrieve an accurate timestamp. These queries will be enabled if this policy i s set to True or is not set.''',
9628 }, 9628 },
9629 {
9630 'name': 'PrintPreviewUseSystemDefaultPrinter',
9631 'type': 'main',
9632 'schema': { 'type': 'boolean' },
9633 'supported_on': [
9634 'chrome.*:61-',
9635 ],
9636 'features': {
9637 'can_be_recommended': True,
9638 'dynamic_refresh': True,
9639 'per_profile': True,
9640 },
9641 'example_value': False,
9642 'id': 372,
9643 'caption': '''Use System Default Printer as Default''',
9644 'tags': [],
9645 'desc': '''Causes <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to use the system default printer as the default choice in Print Preview instead o f the most recently used printer.
9646
9647 If you disable this setting or do not set a value, Print Preview will use the most recently used printer as the default destination choice.
9648
9649 If you enable this setting, Print Preview will use the OS system default p rinter as the default destination choice.''',
9650 },
9629 ], 9651 ],
9630 'messages': { 9652 'messages': {
9631 # Messages that are not associated to any policies. 9653 # Messages that are not associated to any policies.
9632 'win_supported_winxpsp2': { 9654 'win_supported_winxpsp2': {
9633 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', 9655 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''',
9634 'text': '''Microsoft Windows XP SP2 or later''' 9656 'text': '''Microsoft Windows XP SP2 or later'''
9635 }, 9657 },
9636 'mac_chrome_preferences': { 9658 'mac_chrome_preferences': {
9637 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9659 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9638 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9660 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
9752 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9774 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9753 'text': 'Default Settings (users can override)', 9775 'text': 'Default Settings (users can override)',
9754 }, 9776 },
9755 'doc_complex_policies_on_windows': { 9777 'doc_complex_policies_on_windows': {
9756 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9778 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9757 '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>' '', 9779 '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>' '',
9758 }, 9780 },
9759 }, 9781 },
9760 'placeholders': [], 9782 'placeholders': [],
9761 } 9783 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698